public static interface CustomOriginConfig.Builder extends CopyableBuilder<CustomOriginConfig.Builder,CustomOriginConfig>
Modifier and Type | Method and 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(OriginProtocolPolicy originProtocolPolicy)
The origin protocol policy to apply to your origin.
|
CustomOriginConfig.Builder |
originProtocolPolicy(String originProtocolPolicy)
The origin protocol policy to apply to your origin.
|
CustomOriginConfig.Builder |
originReadTimeout(Integer originReadTimeout)
You can create a custom origin read timeout.
|
default CustomOriginConfig.Builder |
originSslProtocols(Consumer<OriginSslProtocols.Builder> originSslProtocols)
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
|
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
,
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
,
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.default CustomOriginConfig.Builder originSslProtocols(Consumer<OriginSslProtocols.Builder> originSslProtocols)
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
This is a convenience that creates an instance of theOriginSslProtocols.Builder
avoiding the need to
create one manually via OriginSslProtocols.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to originSslProtocols(OriginSslProtocols)
.originSslProtocols
- a consumer that will call methods on OriginSslProtocols.Builder
originSslProtocols(OriginSslProtocols)
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.