public class DistributionSummary extends Object
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) |
CachingBehavior |
getCachingBehavior()
Specifies options that affects caching behavior, such as minimum TTL
values.
|
List<String> |
getCNAME()
The CNAMEs associated with this distribution.
|
String |
getComment()
The comment originally specified when this distribution was created.
|
CustomOrigin |
getCustomOrigin()
A customer origin.
|
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.
|
S3Origin |
getS3Origin()
Your S3 origin bucket.
|
String |
getStatus()
This response element indicates the current status of the
distribution.
|
TrustedSigners |
getTrustedSigners()
The trusted signers of the URL.
|
int |
hashCode() |
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(Collection<String> cNAME)
The CNAMEs associated with this distribution.
|
void |
setComment(String comment)
The comment originally specified when this distribution was created.
|
void |
setCustomOrigin(CustomOrigin customOrigin)
A customer origin.
|
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 |
setS3Origin(S3Origin s3Origin)
Your S3 origin bucket.
|
void |
setStatus(String status)
This response element indicates the current status of the
distribution.
|
void |
setTrustedSigners(TrustedSigners trustedSigners)
The trusted signers of the URL.
|
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(Collection<String> cNAME)
The CNAMEs associated with this distribution.
|
DistributionSummary |
withCNAME(String... cNAME)
The CNAMEs associated with this distribution.
|
DistributionSummary |
withComment(String comment)
The comment originally specified when this distribution was created.
|
DistributionSummary |
withCustomOrigin(CustomOrigin customOrigin)
A customer origin.
|
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 |
withS3Origin(S3Origin s3Origin)
Your S3 origin bucket.
|
DistributionSummary |
withStatus(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 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 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 List<String> getCNAME()
public void setCNAME(Collection<String> cNAME)
cNAME
- The CNAMEs associated with this distribution.public DistributionSummary withCNAME(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(Collection<String> cNAME)
Returns a reference to this object so that method calls can be chained together.
cNAME
- The CNAMEs associated with this distribution.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 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 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2016. All rights reserved.