Interface VpcOriginConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcOriginConfig.Builder,,VpcOriginConfig> SdkBuilder<VpcOriginConfig.Builder,,VpcOriginConfig> SdkPojo
- Enclosing class:
VpcOriginConfig
-
Method Summary
Modifier and TypeMethodDescriptionoriginKeepaliveTimeout(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.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.
-
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.
-