public class DistributionSummary extends Object implements Serializable
A summary of the information for an Amazon CloudFront distribution.
Constructor and Description |
---|
DistributionSummary()
Default constructor for a new DistributionSummary object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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.
|
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.
|
String |
getDomainName()
The domain name corresponding to the distribution.
|
Boolean |
getEnabled()
Whether the distribution is enabled to accept end user requests for
content.
|
String |
getId()
The identifier for the 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()
Returns the value of the PriceClass property for this object.
|
Restrictions |
getRestrictions()
A complex type that identifies ways in which you want to restrict
distribution of your content.
|
String |
getStatus()
This response element indicates the current status of the
distribution.
|
ViewerCertificate |
getViewerCertificate()
A complex type that contains information about viewer certificates for
this distribution.
|
int |
hashCode() |
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(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(String domainName)
The domain name corresponding to the distribution.
|
void |
setEnabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for
content.
|
void |
setId(String id)
The identifier for the 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)
Sets the value of the PriceClass property for this object.
|
void |
setPriceClass(String priceClass)
Sets the value of the PriceClass property for this object.
|
void |
setRestrictions(Restrictions restrictions)
A complex type that identifies ways in which you want to restrict
distribution of your content.
|
void |
setStatus(String status)
This response element indicates the current status of the
distribution.
|
void |
setViewerCertificate(ViewerCertificate viewerCertificate)
A complex type that contains information about viewer certificates for
this 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 |
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 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(String domainName)
The domain name corresponding to the distribution.
|
DistributionSummary |
withEnabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for
content.
|
DistributionSummary |
withId(String id)
The identifier for the 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)
Sets the value of the PriceClass property for this object.
|
DistributionSummary |
withPriceClass(String priceClass)
Sets the value of the PriceClass property for this object.
|
DistributionSummary |
withRestrictions(Restrictions restrictions)
A complex type that identifies ways in which you want to restrict
distribution of your content.
|
DistributionSummary |
withStatus(String status)
This response element indicates the current status of the
distribution.
|
DistributionSummary |
withViewerCertificate(ViewerCertificate viewerCertificate)
A complex type that contains information about viewer certificates for
this distribution.
|
public DistributionSummary()
public String getId()
public void setId(String id)
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.public DistributionSummary withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.public String getStatus()
public void setStatus(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 DistributionSummary withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
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 Date getLastModifiedTime()
public void setLastModifiedTime(Date lastModifiedTime)
lastModifiedTime
- The date and time the distribution was last modified.public DistributionSummary withLastModifiedTime(Date lastModifiedTime)
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime
- The date and time the distribution was last modified.public String getDomainName()
public void setDomainName(String domainName)
domainName
- The domain name corresponding to the distribution. For example:
d604721fxaaqy9.cloudfront.net.public DistributionSummary withDomainName(String domainName)
Returns a reference to this object so that method calls can be chained together.
domainName
- The domain name corresponding to the distribution. For example:
d604721fxaaqy9.cloudfront.net.public Aliases getAliases()
public void setAliases(Aliases aliases)
aliases
- A complex type that contains information about CNAMEs (alternate
domain names), if any, for this distribution.public DistributionSummary withAliases(Aliases aliases)
Returns a reference to this object so that method calls can be chained together.
aliases
- A complex type that contains information about CNAMEs (alternate
domain names), if any, for this distribution.public Origins getOrigins()
public void setOrigins(Origins origins)
origins
- A complex type that contains information about origins for this
distribution.public DistributionSummary withOrigins(Origins origins)
Returns a reference to this object so that method calls can be chained together.
origins
- A complex type that contains information about origins for this
distribution.public DefaultCacheBehavior getDefaultCacheBehavior()
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 DistributionSummary withDefaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
Returns a reference to this object so that method calls can be chained together.
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 CacheBehaviors getCacheBehaviors()
public void setCacheBehaviors(CacheBehaviors cacheBehaviors)
cacheBehaviors
- A complex type that contains zero or more CacheBehavior elements.public DistributionSummary withCacheBehaviors(CacheBehaviors cacheBehaviors)
Returns a reference to this object so that method calls can be chained together.
cacheBehaviors
- A complex type that contains zero or more CacheBehavior elements.public CustomErrorResponses getCustomErrorResponses()
public void setCustomErrorResponses(CustomErrorResponses customErrorResponses)
customErrorResponses
- A complex type that contains zero or more CustomErrorResponses
elements.public DistributionSummary withCustomErrorResponses(CustomErrorResponses customErrorResponses)
Returns a reference to this object so that method calls can be chained together.
customErrorResponses
- A complex type that contains zero or more CustomErrorResponses
elements.public String getComment()
public void setComment(String comment)
comment
- The comment originally specified when this distribution was created.public DistributionSummary withComment(String comment)
Returns a reference to this object so that method calls can be chained together.
comment
- The comment originally specified when this distribution was created.public String getPriceClass()
Constraints:
Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All
PriceClass
public void setPriceClass(String priceClass)
Constraints:
Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All
priceClass
- The new value for the PriceClass property for this object.PriceClass
public DistributionSummary withPriceClass(String priceClass)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All
priceClass
- The new value for the PriceClass property for this object.PriceClass
public void setPriceClass(PriceClass priceClass)
Constraints:
Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All
priceClass
- The new value for the PriceClass property for this object.PriceClass
public DistributionSummary withPriceClass(PriceClass priceClass)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All
priceClass
- The new value for the PriceClass property for this object.PriceClass
public Boolean isEnabled()
public void setEnabled(Boolean enabled)
enabled
- Whether the distribution is enabled to accept end user requests for
content.public DistributionSummary withEnabled(Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled
- Whether the distribution is enabled to accept end user requests for
content.public Boolean getEnabled()
public ViewerCertificate getViewerCertificate()
public void setViewerCertificate(ViewerCertificate viewerCertificate)
viewerCertificate
- A complex type that contains information about viewer certificates for
this distribution.public DistributionSummary withViewerCertificate(ViewerCertificate viewerCertificate)
Returns a reference to this object so that method calls can be chained together.
viewerCertificate
- A complex type that contains information about viewer certificates for
this distribution.public Restrictions getRestrictions()
public void setRestrictions(Restrictions restrictions)
restrictions
- A complex type that identifies ways in which you want to restrict
distribution of your content.public DistributionSummary withRestrictions(Restrictions restrictions)
Returns a reference to this object so that method calls can be chained together.
restrictions
- A complex type that identifies ways in which you want to restrict
distribution of your content.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.