CopyableBuilder<CustomOriginConfig.Builder,CustomOriginConfig>
, SdkBuilder<CustomOriginConfig.Builder,CustomOriginConfig>
public static interface CustomOriginConfig.Builder extends CopyableBuilder<CustomOriginConfig.Builder,CustomOriginConfig>
Modifier and Type | Method | Description |
---|---|---|
CustomOriginConfig.Builder |
httpPort(Integer httpPort) |
The HTTP port the custom origin listens on.
|
CustomOriginConfig.Builder |
httpsPort(Integer httpsPort) |
The HTTPS port the custom origin listens on.
|
CustomOriginConfig.Builder |
originKeepaliveTimeout(Integer originKeepaliveTimeout) |
You can create a custom keep-alive timeout.
|
CustomOriginConfig.Builder |
originProtocolPolicy(String originProtocolPolicy) |
The origin protocol policy to apply to your origin.
|
CustomOriginConfig.Builder |
originProtocolPolicy(OriginProtocolPolicy originProtocolPolicy) |
The origin protocol policy to apply to your origin.
|
CustomOriginConfig.Builder |
originReadTimeout(Integer originReadTimeout) |
You can create a custom origin read timeout.
|
CustomOriginConfig.Builder |
originSslProtocols(OriginSslProtocols originSslProtocols) |
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
|
copy
apply, build
CustomOriginConfig.Builder httpPort(Integer httpPort)
The HTTP port the custom origin listens on.
httpPort
- The HTTP port the custom origin listens on.CustomOriginConfig.Builder httpsPort(Integer httpsPort)
The HTTPS port the custom origin listens on.
httpsPort
- The HTTPS port the custom origin listens on.CustomOriginConfig.Builder originProtocolPolicy(String originProtocolPolicy)
The origin protocol policy to apply to your origin.
originProtocolPolicy
- The origin protocol policy to apply to your origin.OriginProtocolPolicy
CustomOriginConfig.Builder originProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)
The origin protocol policy to apply to your origin.
originProtocolPolicy
- The origin protocol policy to apply to your origin.OriginProtocolPolicy
CustomOriginConfig.Builder originSslProtocols(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.CustomOriginConfig.Builder originReadTimeout(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.
CustomOriginConfig.Builder originKeepaliveTimeout(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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.