Interface AwsCloudFrontDistributionOriginCustomOriginConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsCloudFrontDistributionOriginCustomOriginConfig.Builder,AwsCloudFrontDistributionOriginCustomOriginConfig>,SdkBuilder<AwsCloudFrontDistributionOriginCustomOriginConfig.Builder,AwsCloudFrontDistributionOriginCustomOriginConfig>,SdkPojo
- Enclosing class:
- AwsCloudFrontDistributionOriginCustomOriginConfig
public static interface AwsCloudFrontDistributionOriginCustomOriginConfig.Builder extends SdkPojo, CopyableBuilder<AwsCloudFrontDistributionOriginCustomOriginConfig.Builder,AwsCloudFrontDistributionOriginCustomOriginConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsCloudFrontDistributionOriginCustomOriginConfig.BuilderhttpPort(Integer httpPort)The HTTP port that CloudFront uses to connect to the origin.AwsCloudFrontDistributionOriginCustomOriginConfig.BuilderhttpsPort(Integer httpsPort)The HTTPS port that CloudFront uses to connect to the origin.AwsCloudFrontDistributionOriginCustomOriginConfig.BuilderoriginKeepaliveTimeout(Integer originKeepaliveTimeout)Specifies how long, in seconds, CloudFront persists its connection to the origin.AwsCloudFrontDistributionOriginCustomOriginConfig.BuilderoriginProtocolPolicy(String originProtocolPolicy)Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin.AwsCloudFrontDistributionOriginCustomOriginConfig.BuilderoriginReadTimeout(Integer originReadTimeout)Specifies how long, in seconds, CloudFront waits for a response from the origin.default AwsCloudFrontDistributionOriginCustomOriginConfig.BuilderoriginSslProtocols(Consumer<AwsCloudFrontDistributionOriginSslProtocols.Builder> originSslProtocols)Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS.AwsCloudFrontDistributionOriginCustomOriginConfig.BuilderoriginSslProtocols(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, sdkFields
-
-
-
-
Method Detail
-
httpPort
AwsCloudFrontDistributionOriginCustomOriginConfig.Builder httpPort(Integer 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
AwsCloudFrontDistributionOriginCustomOriginConfig.Builder httpsPort(Integer 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.Builderavoiding the need to create one manually viaAwsCloudFrontDistributionOriginSslProtocols.builder().When the
Consumercompletes,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:
originSslProtocols(AwsCloudFrontDistributionOriginSslProtocols)
-
-