ToCopyableBuilder<DistributionSummary.Builder,DistributionSummary>
@Generated("software.amazon.awssdk:codegen") public class DistributionSummary extends Object implements ToCopyableBuilder<DistributionSummary.Builder,DistributionSummary>
A summary of the information about a CloudFront distribution.
Modifier and Type | Class | Description |
---|---|---|
static interface |
DistributionSummary.Builder |
Modifier and Type | Method | Description |
---|---|---|
Aliases |
aliases() |
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
|
String |
arn() |
The ARN (Amazon Resource Name) for the distribution.
|
static DistributionSummary.Builder |
builder() |
|
CacheBehaviors |
cacheBehaviors() |
A complex type that contains zero or more
CacheBehavior elements. |
String |
comment() |
The comment originally specified when this distribution was created.
|
CustomErrorResponses |
customErrorResponses() |
A complex type that contains zero or more
CustomErrorResponses elements. |
DefaultCacheBehavior |
defaultCacheBehavior() |
A complex type that describes the default cache behavior if you do not specify a
CacheBehavior
element or if files don't match any of the values of PathPattern in CacheBehavior
elements. |
String |
domainName() |
The domain name that corresponds to the distribution.
|
Boolean |
enabled() |
Whether the distribution is enabled to accept user requests for content.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
httpVersion() |
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
String |
id() |
The identifier for the distribution.
|
Boolean |
isIPV6Enabled() |
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
|
Date |
lastModifiedTime() |
The date and time the distribution was last modified.
|
Origins |
origins() |
A complex type that contains information about origins for this distribution.
|
String |
priceClass() |
|
Restrictions |
restrictions() |
|
static Class<? extends DistributionSummary.Builder> |
serializableBuilderClass() |
|
String |
status() |
The current status of the distribution.
|
DistributionSummary.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
ViewerCertificate |
viewerCertificate() |
|
String |
webACLId() |
The Web ACL Id (if any) associated with the distribution.
|
public String id()
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
EDFDVBD632BHDS5
.public String arn()
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is
your AWS account ID.
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your AWS account ID.public String status()
The current status of the distribution. When the status is Deployed
, the distribution's information
is propagated to all CloudFront edge locations.
Deployed
, the distribution's
information is propagated to all CloudFront edge locations.public Date lastModifiedTime()
The date and time the distribution was last modified.
public String domainName()
The domain name that corresponds to the distribution. For example: d604721fxaaqy9.cloudfront.net
.
d604721fxaaqy9.cloudfront.net
.public Aliases aliases()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
public Origins origins()
A complex type that contains information about origins for this distribution.
public DefaultCacheBehavior defaultCacheBehavior()
A complex type that describes the default cache behavior if you do not specify a CacheBehavior
element or if files don't match any of the values of PathPattern
in CacheBehavior
elements. You must create exactly one default cache behavior.
CacheBehavior
element or if files don't match any of the values of PathPattern
in CacheBehavior
elements. You must create exactly one default cache behavior.public CacheBehaviors cacheBehaviors()
A complex type that contains zero or more CacheBehavior
elements.
CacheBehavior
elements.public CustomErrorResponses customErrorResponses()
A complex type that contains zero or more CustomErrorResponses
elements.
CustomErrorResponses
elements.public String comment()
The comment originally specified when this distribution was created.
public String priceClass()
PriceClass
public Boolean enabled()
Whether the distribution is enabled to accept user requests for content.
public ViewerCertificate viewerCertificate()
public Restrictions restrictions()
public String webACLId()
The Web ACL Id (if any) associated with the distribution.
public String httpVersion()
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value
for new web distributions is http2
. Viewers that don't support HTTP/2
will
automatically use an earlier version.
http2
. Viewers that don't support HTTP/2
will automatically use an earlier version.HttpVersion
public Boolean isIPV6Enabled()
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
public DistributionSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DistributionSummary.Builder,DistributionSummary>
public static DistributionSummary.Builder builder()
public static Class<? extends DistributionSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.