public class DistributionSummary
extends java.lang.Object
A summary of the information for an Amazon CloudFront distribution.
| コンストラクタと説明 |
|---|
DistributionSummary()
Default constructor for a new DistributionSummary object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
CachingBehavior |
getCachingBehavior()
Specifies options that affects caching behavior, such as minimum TTL
values.
|
java.util.List<java.lang.String> |
getCNAME()
The CNAMEs associated with this distribution.
|
java.lang.String |
getComment()
The comment originally specified when this distribution was created.
|
CustomOrigin |
getCustomOrigin()
A customer origin.
|
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.
|
S3Origin |
getS3Origin()
Your S3 origin bucket.
|
java.lang.String |
getStatus()
This response element indicates the current status of the
distribution.
|
TrustedSigners |
getTrustedSigners()
The trusted signers of the URL.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Whether the distribution is enabled to accept end user requests for
content.
|
void |
setCachingBehavior(CachingBehavior cachingBehavior)
Specifies options that affects caching behavior, such as minimum TTL
values.
|
void |
setCNAME(java.util.Collection<java.lang.String> cNAME)
The CNAMEs associated with this distribution.
|
void |
setComment(java.lang.String comment)
The comment originally specified when this distribution was created.
|
void |
setCustomOrigin(CustomOrigin customOrigin)
A customer origin.
|
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 |
setS3Origin(S3Origin s3Origin)
Your S3 origin bucket.
|
void |
setStatus(java.lang.String status)
This response element indicates the current status of the
distribution.
|
void |
setTrustedSigners(TrustedSigners trustedSigners)
The trusted signers of the URL.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DistributionSummary |
withCachingBehavior(CachingBehavior cachingBehavior)
Specifies options that affects caching behavior, such as minimum TTL
values.
|
DistributionSummary |
withCNAME(java.util.Collection<java.lang.String> cNAME)
The CNAMEs associated with this distribution.
|
DistributionSummary |
withCNAME(java.lang.String... cNAME)
The CNAMEs associated with this distribution.
|
DistributionSummary |
withComment(java.lang.String comment)
The comment originally specified when this distribution was created.
|
DistributionSummary |
withCustomOrigin(CustomOrigin customOrigin)
A customer origin.
|
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 |
withS3Origin(S3Origin s3Origin)
Your S3 origin bucket.
|
DistributionSummary |
withStatus(java.lang.String status)
This response element indicates the current status of the
distribution.
|
DistributionSummary |
withTrustedSigners(TrustedSigners trustedSigners)
The trusted signers of the URL.
|
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 S3Origin getS3Origin()
public void setS3Origin(S3Origin s3Origin)
s3Origin - Your S3 origin bucket.public DistributionSummary withS3Origin(S3Origin s3Origin)
Returns a reference to this object so that method calls can be chained together.
s3Origin - Your S3 origin bucket.public CustomOrigin getCustomOrigin()
public void setCustomOrigin(CustomOrigin customOrigin)
customOrigin - A customer origin.public DistributionSummary withCustomOrigin(CustomOrigin customOrigin)
Returns a reference to this object so that method calls can be chained together.
customOrigin - A customer origin.public java.util.List<java.lang.String> getCNAME()
public void setCNAME(java.util.Collection<java.lang.String> cNAME)
cNAME - The CNAMEs associated with this distribution.public DistributionSummary withCNAME(java.lang.String... cNAME)
Returns a reference to this object so that method calls can be chained together.
cNAME - The CNAMEs associated with this distribution.public DistributionSummary withCNAME(java.util.Collection<java.lang.String> cNAME)
Returns a reference to this object so that method calls can be chained together.
cNAME - The CNAMEs associated with this distribution.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.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 TrustedSigners getTrustedSigners()
public void setTrustedSigners(TrustedSigners trustedSigners)
trustedSigners - The trusted signers of the URL.public DistributionSummary withTrustedSigners(TrustedSigners trustedSigners)
Returns a reference to this object so that method calls can be chained together.
trustedSigners - The trusted signers of the URL.public CachingBehavior getCachingBehavior()
public void setCachingBehavior(CachingBehavior cachingBehavior)
cachingBehavior - Specifies options that affects caching behavior, such as minimum TTL
values.public DistributionSummary withCachingBehavior(CachingBehavior cachingBehavior)
Returns a reference to this object so that method calls can be chained together.
cachingBehavior - Specifies options that affects caching behavior, such as minimum TTL
values.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