Interface VpcOriginConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcOriginConfig.Builder,,VpcOriginConfig> SdkBuilder<VpcOriginConfig.Builder,,VpcOriginConfig> SdkPojo
- Enclosing class:
VpcOriginConfig
-
Method Summary
Modifier and TypeMethodDescriptionoriginHttpVersion(String originHttpVersion) The HTTP version that CloudFront uses for requests to the VPC origin for this distribution.originHttpVersion(OriginHttpVersion originHttpVersion) The HTTP version that CloudFront uses for requests to the VPC origin for this distribution.originKeepaliveTimeout(Integer originKeepaliveTimeout) Specifies how long, in seconds, CloudFront persists its connection to the origin.originReadTimeout(Integer originReadTimeout) Specifies how long, in seconds, CloudFront waits for a response from the origin.ownerAccountId(String ownerAccountId) The account ID of the Amazon Web Services account that owns the VPC origin.vpcOriginId(String vpcOriginId) The VPC origin ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
vpcOriginId
The VPC origin ID.
- Parameters:
vpcOriginId- The VPC origin ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccountId
The account ID of the Amazon Web Services account that owns the VPC origin.
- Parameters:
ownerAccountId- The account ID of the Amazon Web Services account that owns the VPC origin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originReadTimeout
Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.
For more information, see Response timeout in the Amazon CloudFront Developer Guide.
- Parameters:
originReadTimeout- Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.For more information, see Response timeout in the Amazon CloudFront Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originKeepaliveTimeout
Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 5 seconds.
For more information, see Keep-alive timeout (custom origins only) in the Amazon CloudFront Developer Guide.
- Parameters:
originKeepaliveTimeout- Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 5 seconds.For more information, see Keep-alive timeout (custom origins only) in the Amazon CloudFront Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originHttpVersion
The HTTP version that CloudFront uses for requests to the VPC origin for this distribution. Valid values are
http1.1andhttp2. If you don't specify a value, CloudFront uses HTTP/1.1.When you specify
http2, CloudFront offers HTTP/2 to the origin by using ALPN. If the origin doesn't negotiate HTTP/2, CloudFront uses HTTP/1.1. CloudFront uses HTTP/2 only over Transport Layer Security (TLS) 1.2 or later. Otherwise, it uses HTTP/1.1.If you use a version of an AWS SDK or the AWS CLI that doesn't support this field, an update that sends back a configuration you got from CloudFront removes the value, and CloudFront then uses HTTP/1.1.
For more information, see Origin HTTP version in the Amazon CloudFront Developer Guide.
- Parameters:
originHttpVersion- The HTTP version that CloudFront uses for requests to the VPC origin for this distribution. Valid values arehttp1.1andhttp2. If you don't specify a value, CloudFront uses HTTP/1.1.When you specify
http2, CloudFront offers HTTP/2 to the origin by using ALPN. If the origin doesn't negotiate HTTP/2, CloudFront uses HTTP/1.1. CloudFront uses HTTP/2 only over Transport Layer Security (TLS) 1.2 or later. Otherwise, it uses HTTP/1.1.If you use a version of an AWS SDK or the AWS CLI that doesn't support this field, an update that sends back a configuration you got from CloudFront removes the value, and CloudFront then uses HTTP/1.1.
For more information, see Origin HTTP version in the Amazon CloudFront Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
originHttpVersion
The HTTP version that CloudFront uses for requests to the VPC origin for this distribution. Valid values are
http1.1andhttp2. If you don't specify a value, CloudFront uses HTTP/1.1.When you specify
http2, CloudFront offers HTTP/2 to the origin by using ALPN. If the origin doesn't negotiate HTTP/2, CloudFront uses HTTP/1.1. CloudFront uses HTTP/2 only over Transport Layer Security (TLS) 1.2 or later. Otherwise, it uses HTTP/1.1.If you use a version of an AWS SDK or the AWS CLI that doesn't support this field, an update that sends back a configuration you got from CloudFront removes the value, and CloudFront then uses HTTP/1.1.
For more information, see Origin HTTP version in the Amazon CloudFront Developer Guide.
- Parameters:
originHttpVersion- The HTTP version that CloudFront uses for requests to the VPC origin for this distribution. Valid values arehttp1.1andhttp2. If you don't specify a value, CloudFront uses HTTP/1.1.When you specify
http2, CloudFront offers HTTP/2 to the origin by using ALPN. If the origin doesn't negotiate HTTP/2, CloudFront uses HTTP/1.1. CloudFront uses HTTP/2 only over Transport Layer Security (TLS) 1.2 or later. Otherwise, it uses HTTP/1.1.If you use a version of an AWS SDK or the AWS CLI that doesn't support this field, an update that sends back a configuration you got from CloudFront removes the value, and CloudFront then uses HTTP/1.1.
For more information, see Origin HTTP version in the Amazon CloudFront Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-