public class DistributionSummary
extends java.lang.Object
implements java.io.Serializable
A summary of the information for an Amazon CloudFront distribution.
| コンストラクタと説明 |
|---|
DistributionSummary()
Default constructor for a new DistributionSummary object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
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()
Returns the value of the PriceClass property for this object.
|
java.lang.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() |
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 |
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)
Sets the value of the PriceClass property for this object.
|
void |
setPriceClass(java.lang.String priceClass)
Sets the value of the PriceClass property for this object.
|
void |
setStatus(java.lang.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.
|
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 |
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)
Sets the value of the PriceClass property for this object.
|
DistributionSummary |
withPriceClass(java.lang.String priceClass)
Sets the value of the PriceClass property for this object.
|
DistributionSummary |
withStatus(java.lang.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 java.lang.String getId()
public void setId(java.lang.String id)
id - The identifier for the distribution. For example: EDFDVBD632BHDS5.public DistributionSummary withId(java.lang.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 java.lang.String getStatus()
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 DistributionSummary withStatus(java.lang.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 java.util.Date getLastModifiedTime()
public void setLastModifiedTime(java.util.Date lastModifiedTime)
lastModifiedTime - The date and time the distribution was last modified.public DistributionSummary withLastModifiedTime(java.util.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 java.lang.String getDomainName()
public void setDomainName(java.lang.String domainName)
domainName - The domain name corresponding to the distribution. For example:
d604721fxaaqy9.cloudfront.net.public DistributionSummary withDomainName(java.lang.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 java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - The comment originally specified when this distribution was created.public DistributionSummary withComment(java.lang.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 java.lang.String getPriceClass()
Constraints:
Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All
PriceClasspublic void setPriceClass(java.lang.String priceClass)
Constraints:
Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All
priceClass - The new value for the PriceClass property for this object.PriceClasspublic DistributionSummary withPriceClass(java.lang.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.PriceClasspublic void setPriceClass(PriceClass priceClass)
Constraints:
Allowed Values: PriceClass_100, PriceClass_200, PriceClass_All
priceClass - The new value for the PriceClass property for this object.PriceClasspublic 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.PriceClasspublic java.lang.Boolean isEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled - Whether the distribution is enabled to accept end user requests for
content.public DistributionSummary withEnabled(java.lang.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 java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object