Class CustomOriginConfig
java.lang.Object
com.amazonaws.services.cloudfront.model.CustomOriginConfig
- All Implemented Interfaces:
Serializable
,Cloneable
A customer origin.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The HTTP port the custom origin listens on.The HTTPS port the custom origin listens on.The origin protocol policy to apply to your origin.The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.int
hashCode()
void
setHTTPPort
(Integer hTTPPort) The HTTP port the custom origin listens on.void
setHTTPSPort
(Integer hTTPSPort) The HTTPS port the custom origin listens on.void
setOriginProtocolPolicy
(OriginProtocolPolicy originProtocolPolicy) The origin protocol policy to apply to your origin.void
setOriginProtocolPolicy
(String originProtocolPolicy) The origin protocol policy to apply to your origin.void
setOriginSslProtocols
(OriginSslProtocols originSslProtocols) The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.toString()
Returns a string representation of this object; useful for testing and debugging.withHTTPPort
(Integer hTTPPort) The HTTP port the custom origin listens on.withHTTPSPort
(Integer hTTPSPort) The HTTPS port the custom origin listens on.withOriginProtocolPolicy
(OriginProtocolPolicy originProtocolPolicy) The origin protocol policy to apply to your origin.withOriginProtocolPolicy
(String originProtocolPolicy) The origin protocol policy to apply to your origin.withOriginSslProtocols
(OriginSslProtocols originSslProtocols) The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
-
Constructor Details
-
CustomOriginConfig
public CustomOriginConfig()
-
-
Method Details
-
setHTTPPort
The HTTP port the custom origin listens on.- Parameters:
hTTPPort
- The HTTP port the custom origin listens on.
-
getHTTPPort
The HTTP port the custom origin listens on.- Returns:
- The HTTP port the custom origin listens on.
-
withHTTPPort
The HTTP port the custom origin listens on.- Parameters:
hTTPPort
- The HTTP port the custom origin listens on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHTTPSPort
The HTTPS port the custom origin listens on.- Parameters:
hTTPSPort
- The HTTPS port the custom origin listens on.
-
getHTTPSPort
The HTTPS port the custom origin listens on.- Returns:
- The HTTPS port the custom origin listens on.
-
withHTTPSPort
The HTTPS port the custom origin listens on.- Parameters:
hTTPSPort
- The HTTPS port the custom origin listens on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOriginProtocolPolicy
The origin protocol policy to apply to your origin.- Parameters:
originProtocolPolicy
- The origin protocol policy to apply to your origin.- See Also:
-
getOriginProtocolPolicy
The origin protocol policy to apply to your origin.- Returns:
- The origin protocol policy to apply to your origin.
- See Also:
-
withOriginProtocolPolicy
The origin protocol policy to apply to your origin.- Parameters:
originProtocolPolicy
- The origin protocol policy to apply to your origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setOriginProtocolPolicy
The origin protocol policy to apply to your origin.- Parameters:
originProtocolPolicy
- The origin protocol policy to apply to your origin.- See Also:
-
withOriginProtocolPolicy
The origin protocol policy to apply to your origin.- Parameters:
originProtocolPolicy
- The origin protocol policy to apply to your origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setOriginSslProtocols
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.- Parameters:
originSslProtocols
- The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
-
getOriginSslProtocols
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.- Returns:
- The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
-
withOriginSslProtocols
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.- Parameters:
originSslProtocols
- The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-