Interface VpcOriginConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VpcOriginConfig.Builder,VpcOriginConfig>,SdkBuilder<VpcOriginConfig.Builder,VpcOriginConfig>,SdkPojo
- Enclosing class:
- VpcOriginConfig
@Mutable @NotThreadSafe public static interface VpcOriginConfig.Builder extends SdkPojo, CopyableBuilder<VpcOriginConfig.Builder,VpcOriginConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VpcOriginConfig.BuilderoriginKeepaliveTimeout(Integer originKeepaliveTimeout)Specifies how long, in seconds, CloudFront persists its connection to the origin.VpcOriginConfig.BuilderoriginReadTimeout(Integer originReadTimeout)Specifies how long, in seconds, CloudFront waits for a response from the origin.VpcOriginConfig.BuildervpcOriginId(String vpcOriginId)The VPC origin ID.-
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 Detail
-
vpcOriginId
VpcOriginConfig.Builder vpcOriginId(String 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
VpcOriginConfig.Builder originReadTimeout(Integer 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
VpcOriginConfig.Builder originKeepaliveTimeout(Integer 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.
-
-