@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DistributionSummary extends Object implements Serializable, Cloneable
A summary of the information about a CloudFront distribution.
Constructor and Description |
---|
DistributionSummary() |
Modifier and Type | Method and Description |
---|---|
DistributionSummary |
clone() |
boolean |
equals(Object obj) |
Aliases |
getAliases()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
|
String |
getARN()
The ARN (Amazon Resource Name) for the distribution.
|
CacheBehaviors |
getCacheBehaviors()
A complex type that contains zero or more
CacheBehavior elements. |
String |
getComment()
The comment originally specified when this distribution was created.
|
CustomErrorResponses |
getCustomErrorResponses()
A complex type that contains zero or more
CustomErrorResponses elements. |
DefaultCacheBehavior |
getDefaultCacheBehavior()
A complex type that describes the default cache behavior if you don't specify a
CacheBehavior
element or if files don't match any of the values of PathPattern in CacheBehavior
elements. |
String |
getDomainName()
The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net . |
Boolean |
getEnabled()
Whether the distribution is enabled to accept user requests for content.
|
String |
getHttpVersion()
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
String |
getId()
The identifier for the distribution.
|
Boolean |
getIsIPV6Enabled()
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
|
Date |
getLastModifiedTime()
The date and time the distribution was last modified.
|
Origins |
getOrigins()
A complex type that contains information about origins for this distribution.
|
String |
getPriceClass() |
Restrictions |
getRestrictions() |
String |
getStatus()
The current status of the distribution.
|
ViewerCertificate |
getViewerCertificate() |
String |
getWebACLId()
The Web ACL Id (if any) associated with the distribution.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether the distribution is enabled to accept user requests for content.
|
Boolean |
isIPV6Enabled()
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
|
void |
setAliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
|
void |
setARN(String aRN)
The ARN (Amazon Resource Name) for the distribution.
|
void |
setCacheBehaviors(CacheBehaviors cacheBehaviors)
A complex type that contains zero or more
CacheBehavior elements. |
void |
setComment(String comment)
The comment originally specified when this distribution was created.
|
void |
setCustomErrorResponses(CustomErrorResponses customErrorResponses)
A complex type that contains zero or more
CustomErrorResponses elements. |
void |
setDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you don't specify a
CacheBehavior
element or if files don't match any of the values of PathPattern in CacheBehavior
elements. |
void |
setDomainName(String domainName)
The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net . |
void |
setEnabled(Boolean enabled)
Whether the distribution is enabled to accept user requests for content.
|
void |
setHttpVersion(HttpVersion httpVersion)
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
void |
setHttpVersion(String httpVersion)
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
void |
setId(String id)
The identifier for the distribution.
|
void |
setIsIPV6Enabled(Boolean isIPV6Enabled)
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
|
void |
setOrigins(Origins origins)
A complex type that contains information about origins for this distribution.
|
void |
setPriceClass(PriceClass priceClass) |
void |
setPriceClass(String priceClass) |
void |
setRestrictions(Restrictions restrictions) |
void |
setStatus(String status)
The current status of the distribution.
|
void |
setViewerCertificate(ViewerCertificate viewerCertificate) |
void |
setWebACLId(String webACLId)
The Web ACL Id (if any) associated with the distribution.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DistributionSummary |
withAliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
|
DistributionSummary |
withARN(String aRN)
The ARN (Amazon Resource Name) for the distribution.
|
DistributionSummary |
withCacheBehaviors(CacheBehaviors cacheBehaviors)
A complex type that contains zero or more
CacheBehavior elements. |
DistributionSummary |
withComment(String comment)
The comment originally specified when this distribution was created.
|
DistributionSummary |
withCustomErrorResponses(CustomErrorResponses customErrorResponses)
A complex type that contains zero or more
CustomErrorResponses elements. |
DistributionSummary |
withDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you don't specify a
CacheBehavior
element or if files don't match any of the values of PathPattern in CacheBehavior
elements. |
DistributionSummary |
withDomainName(String domainName)
The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net . |
DistributionSummary |
withEnabled(Boolean enabled)
Whether the distribution is enabled to accept user requests for content.
|
DistributionSummary |
withHttpVersion(HttpVersion httpVersion)
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
DistributionSummary |
withHttpVersion(String httpVersion)
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
DistributionSummary |
withId(String id)
The identifier for the distribution.
|
DistributionSummary |
withIsIPV6Enabled(Boolean isIPV6Enabled)
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
|
DistributionSummary |
withLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
|
DistributionSummary |
withOrigins(Origins origins)
A complex type that contains information about origins for this distribution.
|
DistributionSummary |
withPriceClass(PriceClass priceClass) |
DistributionSummary |
withPriceClass(String priceClass) |
DistributionSummary |
withRestrictions(Restrictions restrictions) |
DistributionSummary |
withStatus(String status)
The current status of the distribution.
|
DistributionSummary |
withViewerCertificate(ViewerCertificate viewerCertificate) |
DistributionSummary |
withWebACLId(String webACLId)
The Web ACL Id (if any) associated with the distribution.
|
public void setId(String id)
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5
.public String getId()
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
EDFDVBD632BHDS5
.public DistributionSummary withId(String id)
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5
.public void setARN(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
- The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your AWS account ID.public String getARN()
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 DistributionSummary withARN(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
- The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your AWS account ID.public void setStatus(String status)
The current status of the distribution. When the status is Deployed
, the distribution's information
is propagated to all CloudFront edge locations.
status
- The current status of the distribution. When the status is Deployed
, the distribution's
information is propagated to all CloudFront edge locations.public String getStatus()
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 DistributionSummary withStatus(String status)
The current status of the distribution. When the status is Deployed
, the distribution's information
is propagated to all CloudFront edge locations.
status
- The current status of the distribution. When the status is Deployed
, the distribution's
information is propagated to all CloudFront edge locations.public void setLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
lastModifiedTime
- The date and time the distribution was last modified.public Date getLastModifiedTime()
The date and time the distribution was last modified.
public DistributionSummary withLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
lastModifiedTime
- The date and time the distribution was last modified.public void setDomainName(String domainName)
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
domainName
- The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net
.public String getDomainName()
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
d111111abcdef8.cloudfront.net
.public DistributionSummary withDomainName(String domainName)
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
domainName
- The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net
.public void setAliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
aliases
- A complex type that contains information about CNAMEs (alternate domain names), if any, for this
distribution.public Aliases getAliases()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
public DistributionSummary withAliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
aliases
- A complex type that contains information about CNAMEs (alternate domain names), if any, for this
distribution.public void setOrigins(Origins 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 Origins getOrigins()
A complex type that contains information about origins for this distribution.
public DistributionSummary withOrigins(Origins 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 setDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you don't 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.
defaultCacheBehavior
- A complex type that describes the default cache behavior if you don't 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.public DefaultCacheBehavior getDefaultCacheBehavior()
A complex type that describes the default cache behavior if you don't 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 DistributionSummary withDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you don't 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.
defaultCacheBehavior
- A complex type that describes the default cache behavior if you don't 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.public void setCacheBehaviors(CacheBehaviors cacheBehaviors)
A complex type that contains zero or more CacheBehavior
elements.
cacheBehaviors
- A complex type that contains zero or more CacheBehavior
elements.public CacheBehaviors getCacheBehaviors()
A complex type that contains zero or more CacheBehavior
elements.
CacheBehavior
elements.public DistributionSummary withCacheBehaviors(CacheBehaviors cacheBehaviors)
A complex type that contains zero or more CacheBehavior
elements.
cacheBehaviors
- A complex type that contains zero or more CacheBehavior
elements.public void setCustomErrorResponses(CustomErrorResponses customErrorResponses)
A complex type that contains zero or more CustomErrorResponses
elements.
customErrorResponses
- A complex type that contains zero or more CustomErrorResponses
elements.public CustomErrorResponses getCustomErrorResponses()
A complex type that contains zero or more CustomErrorResponses
elements.
CustomErrorResponses
elements.public DistributionSummary withCustomErrorResponses(CustomErrorResponses customErrorResponses)
A complex type that contains zero or more CustomErrorResponses
elements.
customErrorResponses
- A complex type that contains zero or more CustomErrorResponses
elements.public void setComment(String comment)
The comment originally specified when this distribution was created.
comment
- The comment originally specified when this distribution was created.public String getComment()
The comment originally specified when this distribution was created.
public DistributionSummary withComment(String comment)
The comment originally specified when this distribution was created.
comment
- The comment originally specified when this distribution was created.public void setPriceClass(String priceClass)
priceClass
- PriceClass
public String getPriceClass()
PriceClass
public DistributionSummary withPriceClass(String priceClass)
priceClass
- PriceClass
public void setPriceClass(PriceClass priceClass)
priceClass
- PriceClass
public DistributionSummary withPriceClass(PriceClass priceClass)
priceClass
- PriceClass
public void setEnabled(Boolean enabled)
Whether the distribution is enabled to accept user requests for content.
enabled
- Whether the distribution is enabled to accept user requests for content.public Boolean getEnabled()
Whether the distribution is enabled to accept user requests for content.
public DistributionSummary withEnabled(Boolean enabled)
Whether the distribution is enabled to accept user requests for content.
enabled
- Whether the distribution is enabled to accept user requests for content.public Boolean isEnabled()
Whether the distribution is enabled to accept user requests for content.
public void setViewerCertificate(ViewerCertificate viewerCertificate)
viewerCertificate
- public ViewerCertificate getViewerCertificate()
public DistributionSummary withViewerCertificate(ViewerCertificate viewerCertificate)
viewerCertificate
- public void setRestrictions(Restrictions restrictions)
restrictions
- public Restrictions getRestrictions()
public DistributionSummary withRestrictions(Restrictions restrictions)
restrictions
- public void setWebACLId(String webACLId)
The Web ACL Id (if any) associated with the distribution.
webACLId
- The Web ACL Id (if any) associated with the distribution.public String getWebACLId()
The Web ACL Id (if any) associated with the distribution.
public DistributionSummary withWebACLId(String webACLId)
The Web ACL Id (if any) associated with the distribution.
webACLId
- The Web ACL Id (if any) associated with the distribution.public void setHttpVersion(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.
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.HttpVersion
public String getHttpVersion()
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 DistributionSummary withHttpVersion(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.
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.HttpVersion
public void setHttpVersion(HttpVersion 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.
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.HttpVersion
public DistributionSummary withHttpVersion(HttpVersion 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.
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.HttpVersion
public void setIsIPV6Enabled(Boolean isIPV6Enabled)
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
isIPV6Enabled
- Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.public Boolean getIsIPV6Enabled()
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
public DistributionSummary withIsIPV6Enabled(Boolean isIPV6Enabled)
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
isIPV6Enabled
- Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.public Boolean isIPV6Enabled()
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
public String toString()
toString
in class Object
Object.toString()
public DistributionSummary clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.