public class DistributionSummary
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private Aliases |
aliases
A complex type that contains information about CNAMEs (alternate domain
names), if any, for this distribution.
|
private CacheBehaviors |
cacheBehaviors
A complex type that contains zero or more CacheBehavior elements.
|
private java.lang.String |
comment
The comment originally specified when this distribution was created.
|
private CustomErrorResponses |
customErrorResponses
A complex type that contains zero or more CustomErrorResponses elements.
|
private 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.
|
private java.lang.String |
domainName
The domain name corresponding to the distribution.
|
private java.lang.Boolean |
enabled
Whether the distribution is enabled to accept end user requests for
content.
|
private java.lang.String |
id
The identifier for the distribution.
|
private java.util.Date |
lastModifiedTime
The date and time the distribution was last modified.
|
private Origins |
origins
A complex type that contains information about origins for this
distribution.
|
private java.lang.String |
priceClass |
private Restrictions |
restrictions |
private java.lang.String |
status
This response element indicates the current status of the distribution.
|
private ViewerCertificate |
viewerCertificate |
private java.lang.String |
webACLId
The Web ACL Id (if any) associated with the distribution.
|
Constructor and Description |
---|
DistributionSummary() |
Modifier and Type | Method and Description |
---|---|
DistributionSummary |
clone() |
boolean |
equals(java.lang.Object obj) |
Aliases |
getAliases()
A complex type that contains information about CNAMEs (alternate domain
names), if any, for this distribution.
|
CacheBehaviors |
getCacheBehaviors()
A complex type that contains zero or more CacheBehavior elements.
|
java.lang.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 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.
|
java.lang.String |
getDomainName()
The domain name corresponding to the distribution.
|
java.lang.Boolean |
getEnabled()
Whether the distribution is enabled to accept end user requests for
content.
|
java.lang.String |
getId()
The identifier for the distribution.
|
java.util.Date |
getLastModifiedTime()
The date and time the distribution was last modified.
|
Origins |
getOrigins()
A complex type that contains information about origins for this
distribution.
|
java.lang.String |
getPriceClass() |
Restrictions |
getRestrictions() |
java.lang.String |
getStatus()
This response element indicates the current status of the distribution.
|
ViewerCertificate |
getViewerCertificate() |
java.lang.String |
getWebACLId()
The Web ACL Id (if any) associated with the distribution.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Whether the distribution is enabled to accept end user requests for
content.
|
void |
setAliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain
names), if any, for this distribution.
|
void |
setCacheBehaviors(CacheBehaviors cacheBehaviors)
A complex type that contains zero or more CacheBehavior elements.
|
void |
setComment(java.lang.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 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.
|
void |
setDomainName(java.lang.String domainName)
The domain name corresponding to the distribution.
|
void |
setEnabled(java.lang.Boolean enabled)
Whether the distribution is enabled to accept end user requests for
content.
|
void |
setId(java.lang.String id)
The identifier for the distribution.
|
void |
setLastModifiedTime(java.util.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(java.lang.String priceClass) |
void |
setRestrictions(Restrictions restrictions) |
void |
setStatus(java.lang.String status)
This response element indicates the current status of the distribution.
|
void |
setViewerCertificate(ViewerCertificate viewerCertificate) |
void |
setWebACLId(java.lang.String webACLId)
The Web ACL Id (if any) associated with the distribution.
|
java.lang.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 |
withCacheBehaviors(CacheBehaviors cacheBehaviors)
A complex type that contains zero or more CacheBehavior elements.
|
DistributionSummary |
withComment(java.lang.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 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.
|
DistributionSummary |
withDomainName(java.lang.String domainName)
The domain name corresponding to the distribution.
|
DistributionSummary |
withEnabled(java.lang.Boolean enabled)
Whether the distribution is enabled to accept end user requests for
content.
|
DistributionSummary |
withId(java.lang.String id)
The identifier for the distribution.
|
DistributionSummary |
withLastModifiedTime(java.util.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(java.lang.String priceClass) |
DistributionSummary |
withRestrictions(Restrictions restrictions) |
DistributionSummary |
withStatus(java.lang.String status)
This response element indicates the current status of the distribution.
|
DistributionSummary |
withViewerCertificate(ViewerCertificate viewerCertificate) |
DistributionSummary |
withWebACLId(java.lang.String webACLId)
The Web ACL Id (if any) associated with the distribution.
|
private java.lang.String id
private java.lang.String status
private java.util.Date lastModifiedTime
private java.lang.String domainName
private Aliases aliases
private Origins origins
private DefaultCacheBehavior defaultCacheBehavior
private CacheBehaviors cacheBehaviors
private CustomErrorResponses customErrorResponses
private java.lang.String comment
private java.lang.String priceClass
private java.lang.Boolean enabled
private ViewerCertificate viewerCertificate
private Restrictions restrictions
private java.lang.String webACLId
public void setId(java.lang.String id)
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.public java.lang.String getId()
public DistributionSummary withId(java.lang.String id)
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.public void setStatus(java.lang.String status)
status
- This response element indicates the current status of the
distribution. When the status is Deployed, the distribution's
information is fully propagated throughout the Amazon CloudFront
system.public java.lang.String getStatus()
public DistributionSummary withStatus(java.lang.String status)
status
- This response element indicates the current status of the
distribution. When the status is Deployed, the distribution's
information is fully propagated throughout the Amazon CloudFront
system.public void setLastModifiedTime(java.util.Date lastModifiedTime)
lastModifiedTime
- The date and time the distribution was last modified.public java.util.Date getLastModifiedTime()
public DistributionSummary withLastModifiedTime(java.util.Date lastModifiedTime)
lastModifiedTime
- The date and time the distribution was last modified.public void setDomainName(java.lang.String domainName)
domainName
- The domain name corresponding to the distribution. For example:
d604721fxaaqy9.cloudfront.net.public java.lang.String getDomainName()
public DistributionSummary withDomainName(java.lang.String domainName)
domainName
- The domain name corresponding to the distribution. For example:
d604721fxaaqy9.cloudfront.net.public void setAliases(Aliases aliases)
aliases
- A complex type that contains information about CNAMEs (alternate
domain names), if any, for this distribution.public Aliases getAliases()
public DistributionSummary withAliases(Aliases aliases)
aliases
- A complex type that contains information about CNAMEs (alternate
domain names), if any, for this distribution.public void setOrigins(Origins origins)
origins
- A complex type that contains information about origins for this
distribution.public Origins getOrigins()
public DistributionSummary withOrigins(Origins origins)
origins
- A complex type that contains information about origins for this
distribution.public void setDefaultCacheBehavior(DefaultCacheBehavior 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.public DefaultCacheBehavior getDefaultCacheBehavior()
public DistributionSummary withDefaultCacheBehavior(DefaultCacheBehavior 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.public void setCacheBehaviors(CacheBehaviors cacheBehaviors)
cacheBehaviors
- A complex type that contains zero or more CacheBehavior elements.public CacheBehaviors getCacheBehaviors()
public DistributionSummary withCacheBehaviors(CacheBehaviors cacheBehaviors)
cacheBehaviors
- A complex type that contains zero or more CacheBehavior elements.public void setCustomErrorResponses(CustomErrorResponses customErrorResponses)
customErrorResponses
- A complex type that contains zero or more CustomErrorResponses
elements.public CustomErrorResponses getCustomErrorResponses()
public DistributionSummary withCustomErrorResponses(CustomErrorResponses customErrorResponses)
customErrorResponses
- A complex type that contains zero or more CustomErrorResponses
elements.public void setComment(java.lang.String comment)
comment
- The comment originally specified when this distribution was
created.public java.lang.String getComment()
public DistributionSummary withComment(java.lang.String comment)
comment
- The comment originally specified when this distribution was
created.public void setPriceClass(java.lang.String priceClass)
priceClass
- PriceClass
public java.lang.String getPriceClass()
PriceClass
public DistributionSummary withPriceClass(java.lang.String priceClass)
priceClass
- PriceClass
public void setPriceClass(PriceClass priceClass)
priceClass
- PriceClass
public DistributionSummary withPriceClass(PriceClass priceClass)
priceClass
- PriceClass
public void setEnabled(java.lang.Boolean enabled)
enabled
- Whether the distribution is enabled to accept end user requests
for content.public java.lang.Boolean getEnabled()
public DistributionSummary withEnabled(java.lang.Boolean enabled)
enabled
- Whether the distribution is enabled to accept end user requests
for content.public java.lang.Boolean isEnabled()
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(java.lang.String webACLId)
webACLId
- The Web ACL Id (if any) associated with the distribution.public java.lang.String getWebACLId()
public DistributionSummary withWebACLId(java.lang.String webACLId)
webACLId
- The Web ACL Id (if any) associated with the distribution.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DistributionSummary clone()
clone
in class java.lang.Object