public class StreamingDistributionSummary extends Object
A summary of the information for an Amazon CloudFront streaming distribution.
Constructor and Description |
---|
StreamingDistributionSummary()
Default constructor for a new StreamingDistributionSummary object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getCNAME()
The CNAMEs associated with this distribution.
|
String |
getComment()
The comment originally specified when this distribution was created.
|
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()
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 |
setCNAME(Collection<String> cNAME)
The CNAMEs associated with this distribution.
|
void |
setComment(String comment)
The comment originally specified when this distribution was created.
|
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)
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.
|
StreamingDistributionSummary |
withCNAME(Collection<String> cNAME)
The CNAMEs associated with this distribution.
|
StreamingDistributionSummary |
withCNAME(String... cNAME)
The CNAMEs associated with this distribution.
|
StreamingDistributionSummary |
withComment(String comment)
The comment originally specified when this distribution was created.
|
StreamingDistributionSummary |
withDomainName(String domainName)
The domain name corresponding to the distribution.
|
StreamingDistributionSummary |
withEnabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for
content.
|
StreamingDistributionSummary |
withId(String id)
The identifier for the distribution.
|
StreamingDistributionSummary |
withLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
|
StreamingDistributionSummary |
withS3Origin(S3Origin s3Origin)
Your S3 origin bucket.
|
StreamingDistributionSummary |
withStatus(String status)
Indicates the current status of the distribution.
|
StreamingDistributionSummary |
withTrustedSigners(TrustedSigners trustedSigners)
The trusted signers of the URL.
|
public StreamingDistributionSummary()
public String getId()
public void setId(String id)
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.public StreamingDistributionSummary 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
- 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 StreamingDistributionSummary withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- 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 StreamingDistributionSummary 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 StreamingDistributionSummary 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 StreamingDistributionSummary withS3Origin(S3Origin s3Origin)
Returns a reference to this object so that method calls can be chained together.
s3Origin
- Your S3 origin bucket.public List<String> getCNAME()
public void setCNAME(Collection<String> cNAME)
cNAME
- The CNAMEs associated with this distribution.public StreamingDistributionSummary 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 StreamingDistributionSummary 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 StreamingDistributionSummary 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 StreamingDistributionSummary 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 StreamingDistributionSummary 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.