@Generated(value="software.amazon.awssdk:codegen") public final class CustomOriginConfig extends Object implements ToCopyableBuilder<CustomOriginConfig.Builder,CustomOriginConfig>
A customer origin.
Modifier and Type | Class and Description |
---|---|
static interface |
CustomOriginConfig.Builder |
Modifier and Type | Method and Description |
---|---|
static CustomOriginConfig.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
httpPort()
The HTTP port the custom origin listens on.
|
Integer |
httpsPort()
The HTTPS port the custom origin listens on.
|
Integer |
originKeepaliveTimeout()
You can create a custom keep-alive timeout.
|
OriginProtocolPolicy |
originProtocolPolicy()
The origin protocol policy to apply to your origin.
|
String |
originProtocolPolicyAsString()
The origin protocol policy to apply to your origin.
|
Integer |
originReadTimeout()
You can create a custom origin read timeout.
|
OriginSslProtocols |
originSslProtocols()
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
|
static Class<? extends CustomOriginConfig.Builder> |
serializableBuilderClass() |
CustomOriginConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer httpPort()
The HTTP port the custom origin listens on.
public Integer httpsPort()
The HTTPS port the custom origin listens on.
public OriginProtocolPolicy originProtocolPolicy()
The origin protocol policy to apply to your origin.
If the service returns an enum value that is not available in the current SDK version,
originProtocolPolicy
will return OriginProtocolPolicy.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from originProtocolPolicyAsString()
.
OriginProtocolPolicy
public String originProtocolPolicyAsString()
The origin protocol policy to apply to your origin.
If the service returns an enum value that is not available in the current SDK version,
originProtocolPolicy
will return OriginProtocolPolicy.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from originProtocolPolicyAsString()
.
OriginProtocolPolicy
public OriginSslProtocols originSslProtocols()
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
public Integer originReadTimeout()
You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
If you need to increase the maximum time limit, contact the AWS Support Center.
public Integer originKeepaliveTimeout()
You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
If you need to increase the maximum time limit, contact the AWS Support Center.
public CustomOriginConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CustomOriginConfig.Builder,CustomOriginConfig>
public static CustomOriginConfig.Builder builder()
public static Class<? extends CustomOriginConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.