@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCloudFrontDistributionDetails extends Object implements Serializable, Cloneable, StructuredPojo
A CloudFront distribution configuration.
Constructor and Description |
---|
AwsCloudFrontDistributionDetails() |
Modifier and Type | Method and Description |
---|---|
AwsCloudFrontDistributionDetails |
clone() |
boolean |
equals(Object obj) |
AwsCloudFrontDistributionCacheBehaviors |
getCacheBehaviors()
Provides information about the cache configuration for the distribution.
|
AwsCloudFrontDistributionDefaultCacheBehavior |
getDefaultCacheBehavior()
The default cache behavior for the configuration.
|
String |
getDefaultRootObject()
The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer
requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution
(http://www.example.com/product-description.html).
|
String |
getDomainName()
The domain name corresponding to the distribution.
|
String |
getETag()
The entity tag is a hash of the object.
|
String |
getLastModifiedTime()
Indicates when that the distribution was last modified.
|
AwsCloudFrontDistributionLogging |
getLogging()
A complex type that controls whether access logs are written for the distribution.
|
AwsCloudFrontDistributionOriginGroups |
getOriginGroups()
Provides information about the origin groups in the distribution.
|
AwsCloudFrontDistributionOrigins |
getOrigins()
A complex type that contains information about origins for this distribution.
|
String |
getStatus()
Indicates the current status of the distribution.
|
AwsCloudFrontDistributionViewerCertificate |
getViewerCertificate()
Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.
|
String |
getWebAclId()
A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCacheBehaviors(AwsCloudFrontDistributionCacheBehaviors cacheBehaviors)
Provides information about the cache configuration for the distribution.
|
void |
setDefaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior defaultCacheBehavior)
The default cache behavior for the configuration.
|
void |
setDefaultRootObject(String defaultRootObject)
The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer
requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution
(http://www.example.com/product-description.html).
|
void |
setDomainName(String domainName)
The domain name corresponding to the distribution.
|
void |
setETag(String eTag)
The entity tag is a hash of the object.
|
void |
setLastModifiedTime(String lastModifiedTime)
Indicates when that the distribution was last modified.
|
void |
setLogging(AwsCloudFrontDistributionLogging logging)
A complex type that controls whether access logs are written for the distribution.
|
void |
setOriginGroups(AwsCloudFrontDistributionOriginGroups originGroups)
Provides information about the origin groups in the distribution.
|
void |
setOrigins(AwsCloudFrontDistributionOrigins origins)
A complex type that contains information about origins for this distribution.
|
void |
setStatus(String status)
Indicates the current status of the distribution.
|
void |
setViewerCertificate(AwsCloudFrontDistributionViewerCertificate viewerCertificate)
Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.
|
void |
setWebAclId(String webAclId)
A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.
|
String |
toString()
Returns a string representation of this object.
|
AwsCloudFrontDistributionDetails |
withCacheBehaviors(AwsCloudFrontDistributionCacheBehaviors cacheBehaviors)
Provides information about the cache configuration for the distribution.
|
AwsCloudFrontDistributionDetails |
withDefaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior defaultCacheBehavior)
The default cache behavior for the configuration.
|
AwsCloudFrontDistributionDetails |
withDefaultRootObject(String defaultRootObject)
The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer
requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution
(http://www.example.com/product-description.html).
|
AwsCloudFrontDistributionDetails |
withDomainName(String domainName)
The domain name corresponding to the distribution.
|
AwsCloudFrontDistributionDetails |
withETag(String eTag)
The entity tag is a hash of the object.
|
AwsCloudFrontDistributionDetails |
withLastModifiedTime(String lastModifiedTime)
Indicates when that the distribution was last modified.
|
AwsCloudFrontDistributionDetails |
withLogging(AwsCloudFrontDistributionLogging logging)
A complex type that controls whether access logs are written for the distribution.
|
AwsCloudFrontDistributionDetails |
withOriginGroups(AwsCloudFrontDistributionOriginGroups originGroups)
Provides information about the origin groups in the distribution.
|
AwsCloudFrontDistributionDetails |
withOrigins(AwsCloudFrontDistributionOrigins origins)
A complex type that contains information about origins for this distribution.
|
AwsCloudFrontDistributionDetails |
withStatus(String status)
Indicates the current status of the distribution.
|
AwsCloudFrontDistributionDetails |
withViewerCertificate(AwsCloudFrontDistributionViewerCertificate viewerCertificate)
Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.
|
AwsCloudFrontDistributionDetails |
withWebAclId(String webAclId)
A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.
|
public void setCacheBehaviors(AwsCloudFrontDistributionCacheBehaviors cacheBehaviors)
Provides information about the cache configuration for the distribution.
cacheBehaviors
- Provides information about the cache configuration for the distribution.public AwsCloudFrontDistributionCacheBehaviors getCacheBehaviors()
Provides information about the cache configuration for the distribution.
public AwsCloudFrontDistributionDetails withCacheBehaviors(AwsCloudFrontDistributionCacheBehaviors cacheBehaviors)
Provides information about the cache configuration for the distribution.
cacheBehaviors
- Provides information about the cache configuration for the distribution.public void setDefaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior defaultCacheBehavior)
The default cache behavior for the configuration.
defaultCacheBehavior
- The default cache behavior for the configuration.public AwsCloudFrontDistributionDefaultCacheBehavior getDefaultCacheBehavior()
The default cache behavior for the configuration.
public AwsCloudFrontDistributionDetails withDefaultCacheBehavior(AwsCloudFrontDistributionDefaultCacheBehavior defaultCacheBehavior)
The default cache behavior for the configuration.
defaultCacheBehavior
- The default cache behavior for the configuration.public void setDefaultRootObject(String defaultRootObject)
The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).
defaultRootObject
- The object that CloudFront sends in response to requests from the origin (for example, index.html) when a
viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your
distribution (http://www.example.com/product-description.html).public String getDefaultRootObject()
The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).
public AwsCloudFrontDistributionDetails withDefaultRootObject(String defaultRootObject)
The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).
defaultRootObject
- The object that CloudFront sends in response to requests from the origin (for example, index.html) when a
viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your
distribution (http://www.example.com/product-description.html).public void setDomainName(String domainName)
The domain name corresponding to the distribution.
domainName
- The domain name corresponding to the distribution.public String getDomainName()
The domain name corresponding to the distribution.
public AwsCloudFrontDistributionDetails withDomainName(String domainName)
The domain name corresponding to the distribution.
domainName
- The domain name corresponding to the distribution.public void setETag(String eTag)
The entity tag is a hash of the object.
eTag
- The entity tag is a hash of the object.public String getETag()
The entity tag is a hash of the object.
public AwsCloudFrontDistributionDetails withETag(String eTag)
The entity tag is a hash of the object.
eTag
- The entity tag is a hash of the object.public void setLastModifiedTime(String lastModifiedTime)
Indicates when that the distribution was last modified.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
lastModifiedTime
- Indicates when that the distribution was last modified.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public String getLastModifiedTime()
Indicates when that the distribution was last modified.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public AwsCloudFrontDistributionDetails withLastModifiedTime(String lastModifiedTime)
Indicates when that the distribution was last modified.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
lastModifiedTime
- Indicates when that the distribution was last modified.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public void setLogging(AwsCloudFrontDistributionLogging logging)
A complex type that controls whether access logs are written for the distribution.
logging
- A complex type that controls whether access logs are written for the distribution.public AwsCloudFrontDistributionLogging getLogging()
A complex type that controls whether access logs are written for the distribution.
public AwsCloudFrontDistributionDetails withLogging(AwsCloudFrontDistributionLogging logging)
A complex type that controls whether access logs are written for the distribution.
logging
- A complex type that controls whether access logs are written for the distribution.public void setOrigins(AwsCloudFrontDistributionOrigins origins)
A complex type that contains information about origins for this distribution.
origins
- A complex type that contains information about origins for this distribution.public AwsCloudFrontDistributionOrigins getOrigins()
A complex type that contains information about origins for this distribution.
public AwsCloudFrontDistributionDetails withOrigins(AwsCloudFrontDistributionOrigins origins)
A complex type that contains information about origins for this distribution.
origins
- A complex type that contains information about origins for this distribution.public void setOriginGroups(AwsCloudFrontDistributionOriginGroups originGroups)
Provides information about the origin groups in the distribution.
originGroups
- Provides information about the origin groups in the distribution.public AwsCloudFrontDistributionOriginGroups getOriginGroups()
Provides information about the origin groups in the distribution.
public AwsCloudFrontDistributionDetails withOriginGroups(AwsCloudFrontDistributionOriginGroups originGroups)
Provides information about the origin groups in the distribution.
originGroups
- Provides information about the origin groups in the distribution.public void setViewerCertificate(AwsCloudFrontDistributionViewerCertificate viewerCertificate)
Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.
viewerCertificate
- Provides information about the TLS/SSL configuration that the distribution uses to communicate with
viewers.public AwsCloudFrontDistributionViewerCertificate getViewerCertificate()
Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.
public AwsCloudFrontDistributionDetails withViewerCertificate(AwsCloudFrontDistributionViewerCertificate viewerCertificate)
Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.
viewerCertificate
- Provides information about the TLS/SSL configuration that the distribution uses to communicate with
viewers.public void setStatus(String status)
Indicates the current status of the distribution.
status
- Indicates the current status of the distribution.public String getStatus()
Indicates the current status of the distribution.
public AwsCloudFrontDistributionDetails withStatus(String status)
Indicates the current status of the distribution.
status
- Indicates the current status of the distribution.public void setWebAclId(String webAclId)
A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.
webAclId
- A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.public String getWebAclId()
A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.
public AwsCloudFrontDistributionDetails withWebAclId(String webAclId)
A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.
webAclId
- A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.public String toString()
toString
in class Object
Object.toString()
public AwsCloudFrontDistributionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.