ToCopyableBuilder<CustomOriginConfig.Builder,CustomOriginConfig>
@Generated("software.amazon.awssdk:codegen") public class CustomOriginConfig extends Object implements ToCopyableBuilder<CustomOriginConfig.Builder,CustomOriginConfig>
A customer origin.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CustomOriginConfig.Builder |
Modifier and Type | Method | Description |
---|---|---|
static CustomOriginConfig.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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.
|
String |
originProtocolPolicy() |
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() |
public Integer httpPort()
The HTTP port the custom origin listens on.
public Integer httpsPort()
The HTTPS port the custom origin listens on.
public String originProtocolPolicy()
The origin protocol policy to apply to your origin.
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.