Interface AwsCloudFrontDistributionOriginCustomOriginConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsCloudFrontDistributionOriginCustomOriginConfig.Builder,
,AwsCloudFrontDistributionOriginCustomOriginConfig> SdkBuilder<AwsCloudFrontDistributionOriginCustomOriginConfig.Builder,
,AwsCloudFrontDistributionOriginCustomOriginConfig> SdkPojo
- Enclosing class:
AwsCloudFrontDistributionOriginCustomOriginConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe HTTP port that CloudFront uses to connect to the origin.The HTTPS port that CloudFront uses to connect to the origin.originKeepaliveTimeout
(Integer originKeepaliveTimeout) Specifies how long, in seconds, CloudFront persists its connection to the origin.originProtocolPolicy
(String originProtocolPolicy) Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.originReadTimeout
(Integer originReadTimeout) Specifies how long, in seconds, CloudFront waits for a response from the origin.originSslProtocols
(Consumer<AwsCloudFrontDistributionOriginSslProtocols.Builder> originSslProtocols) Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.originSslProtocols
(AwsCloudFrontDistributionOriginSslProtocols originSslProtocols) Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
httpPort
The HTTP port that CloudFront uses to connect to the origin.
- Parameters:
httpPort
- The HTTP port that CloudFront uses to connect to the origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpsPort
The HTTPS port that CloudFront uses to connect to the origin.
- Parameters:
httpsPort
- The HTTPS port that CloudFront uses to connect to the origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originKeepaliveTimeout
AwsCloudFrontDistributionOriginCustomOriginConfig.Builder originKeepaliveTimeout(Integer originKeepaliveTimeout) Specifies how long, in seconds, CloudFront persists its connection to the origin.
- Parameters:
originKeepaliveTimeout
- Specifies how long, in seconds, CloudFront persists its connection to the origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originProtocolPolicy
AwsCloudFrontDistributionOriginCustomOriginConfig.Builder originProtocolPolicy(String originProtocolPolicy) Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.
- Parameters:
originProtocolPolicy
- Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originReadTimeout
AwsCloudFrontDistributionOriginCustomOriginConfig.Builder originReadTimeout(Integer originReadTimeout) Specifies how long, in seconds, CloudFront waits for a response from the origin.
- Parameters:
originReadTimeout
- Specifies how long, in seconds, CloudFront waits for a response from the origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originSslProtocols
AwsCloudFrontDistributionOriginCustomOriginConfig.Builder originSslProtocols(AwsCloudFrontDistributionOriginSslProtocols originSslProtocols) Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.
- Parameters:
originSslProtocols
- Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originSslProtocols
default AwsCloudFrontDistributionOriginCustomOriginConfig.Builder originSslProtocols(Consumer<AwsCloudFrontDistributionOriginSslProtocols.Builder> originSslProtocols) Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.
This is a convenience method that creates an instance of theAwsCloudFrontDistributionOriginSslProtocols.Builder
avoiding the need to create one manually viaAwsCloudFrontDistributionOriginSslProtocols.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooriginSslProtocols(AwsCloudFrontDistributionOriginSslProtocols)
.- Parameters:
originSslProtocols
- a consumer that will call methods onAwsCloudFrontDistributionOriginSslProtocols.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-