@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomOriginConfig extends Object implements Serializable, Cloneable
A customer origin.
Constructor and Description |
---|
CustomOriginConfig() |
Modifier and Type | Method and Description |
---|---|
CustomOriginConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getHTTPPort()
The HTTP port the custom origin listens on.
|
Integer |
getHTTPSPort()
The HTTPS port the custom origin listens on.
|
Integer |
getOriginKeepaliveTimeout()
You can create a custom keep-alive timeout.
|
String |
getOriginProtocolPolicy()
The origin protocol policy to apply to your origin.
|
Integer |
getOriginReadTimeout()
You can create a custom origin read timeout.
|
OriginSslProtocols |
getOriginSslProtocols()
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 |
setOriginKeepaliveTimeout(Integer originKeepaliveTimeout)
You can create a custom keep-alive timeout.
|
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 |
setOriginReadTimeout(Integer originReadTimeout)
You can create a custom origin read timeout.
|
void |
setOriginSslProtocols(OriginSslProtocols originSslProtocols)
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CustomOriginConfig |
withHTTPPort(Integer hTTPPort)
The HTTP port the custom origin listens on.
|
CustomOriginConfig |
withHTTPSPort(Integer hTTPSPort)
The HTTPS port the custom origin listens on.
|
CustomOriginConfig |
withOriginKeepaliveTimeout(Integer originKeepaliveTimeout)
You can create a custom keep-alive timeout.
|
CustomOriginConfig |
withOriginProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)
The origin protocol policy to apply to your origin.
|
CustomOriginConfig |
withOriginProtocolPolicy(String originProtocolPolicy)
The origin protocol policy to apply to your origin.
|
CustomOriginConfig |
withOriginReadTimeout(Integer originReadTimeout)
You can create a custom origin read timeout.
|
CustomOriginConfig |
withOriginSslProtocols(OriginSslProtocols originSslProtocols)
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
|
public void setHTTPPort(Integer hTTPPort)
The HTTP port the custom origin listens on.
hTTPPort
- The HTTP port the custom origin listens on.public Integer getHTTPPort()
The HTTP port the custom origin listens on.
public CustomOriginConfig withHTTPPort(Integer hTTPPort)
The HTTP port the custom origin listens on.
hTTPPort
- The HTTP port the custom origin listens on.public void setHTTPSPort(Integer hTTPSPort)
The HTTPS port the custom origin listens on.
hTTPSPort
- The HTTPS port the custom origin listens on.public Integer getHTTPSPort()
The HTTPS port the custom origin listens on.
public CustomOriginConfig withHTTPSPort(Integer hTTPSPort)
The HTTPS port the custom origin listens on.
hTTPSPort
- The HTTPS port the custom origin listens on.public void setOriginProtocolPolicy(String originProtocolPolicy)
The origin protocol policy to apply to your origin.
originProtocolPolicy
- The origin protocol policy to apply to your origin.OriginProtocolPolicy
public String getOriginProtocolPolicy()
The origin protocol policy to apply to your origin.
OriginProtocolPolicy
public CustomOriginConfig withOriginProtocolPolicy(String originProtocolPolicy)
The origin protocol policy to apply to your origin.
originProtocolPolicy
- The origin protocol policy to apply to your origin.OriginProtocolPolicy
public void setOriginProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)
The origin protocol policy to apply to your origin.
originProtocolPolicy
- The origin protocol policy to apply to your origin.OriginProtocolPolicy
public CustomOriginConfig withOriginProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)
The origin protocol policy to apply to your origin.
originProtocolPolicy
- The origin protocol policy to apply to your origin.OriginProtocolPolicy
public void setOriginSslProtocols(OriginSslProtocols originSslProtocols)
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
originSslProtocols
- The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.public OriginSslProtocols getOriginSslProtocols()
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
public CustomOriginConfig withOriginSslProtocols(OriginSslProtocols originSslProtocols)
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
originSslProtocols
- The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.public void setOriginReadTimeout(Integer originReadTimeout)
You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
originReadTimeout
- You can create a custom origin read timeout. All timeout units are in seconds. The default origin read
timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum
timeout length is 4 seconds; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
public Integer getOriginReadTimeout()
You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
If you need to increase the maximum time limit, contact the AWS Support Center.
public CustomOriginConfig withOriginReadTimeout(Integer originReadTimeout)
You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
originReadTimeout
- You can create a custom origin read timeout. All timeout units are in seconds. The default origin read
timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum
timeout length is 4 seconds; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
public void setOriginKeepaliveTimeout(Integer originKeepaliveTimeout)
You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
originKeepaliveTimeout
- You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive
timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum
timeout length is 1 second; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
public Integer getOriginKeepaliveTimeout()
You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
If you need to increase the maximum time limit, contact the AWS Support Center.
public CustomOriginConfig withOriginKeepaliveTimeout(Integer originKeepaliveTimeout)
You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
originKeepaliveTimeout
- You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive
timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum
timeout length is 1 second; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
public String toString()
toString
in class Object
Object.toString()
public CustomOriginConfig clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.