Class VpcOriginConfig
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.VpcOriginConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VpcOriginConfig.Builder,VpcOriginConfig>
@Generated("software.amazon.awssdk:codegen") public final class VpcOriginConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpcOriginConfig.Builder,VpcOriginConfig>
An Amazon CloudFront VPC origin configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVpcOriginConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VpcOriginConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegeroriginKeepaliveTimeout()Specifies how long, in seconds, CloudFront persists its connection to the origin.IntegeroriginReadTimeout()Specifies how long, in seconds, CloudFront waits for a response from the origin.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends VpcOriginConfig.Builder>serializableBuilderClass()VpcOriginConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvpcOriginId()The VPC origin ID.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
vpcOriginId
public final String vpcOriginId()
The VPC origin ID.
- Returns:
- The VPC origin ID.
-
originReadTimeout
public final 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 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.
For more information, see Response timeout (custom origins only) in the Amazon CloudFront Developer Guide.
- Returns:
- 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 60 seconds, and the
default (if you don't specify otherwise) is 30 seconds.
For more information, see Response timeout (custom origins only) in the Amazon CloudFront Developer Guide.
-
originKeepaliveTimeout
public final Integer originKeepaliveTimeout()
Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 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:
- Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is
1 second, the maximum is 60 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.
-
toBuilder
public VpcOriginConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VpcOriginConfig.Builder,VpcOriginConfig>
-
builder
public static VpcOriginConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends VpcOriginConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-