com.amazonaws.services.cloudfront.model
Class DistributionSummary

java.lang.Object
  extended by com.amazonaws.services.cloudfront.model.DistributionSummary

public class DistributionSummary
extends Object

A summary of the information for an Amazon CloudFront distribution.


Constructor Summary
DistributionSummary()
          Default constructor for a new DistributionSummary object.
 
Method Summary
 boolean equals(Object obj)
           
 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 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 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributionSummary

public DistributionSummary()
Default constructor for a new DistributionSummary object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getId

public String getId()
The identifier for the distribution. For example: EDFDVBD632BHDS5.

Returns:
The identifier for the distribution. For example: EDFDVBD632BHDS5.

setId

public void setId(String id)
The identifier for the distribution. For example: EDFDVBD632BHDS5.

Parameters:
id - The identifier for the distribution. For example: EDFDVBD632BHDS5.

withId

public DistributionSummary withId(String id)
The identifier for the distribution. For example: EDFDVBD632BHDS5.

Returns a reference to this object so that method calls can be chained together.

Parameters:
id - The identifier for the distribution. For example: EDFDVBD632BHDS5.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String getStatus()
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.

Returns:
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.

setStatus

public void setStatus(String 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.

Parameters:
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.

withStatus

public DistributionSummary withStatus(String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getLastModifiedTime

public Date getLastModifiedTime()
The date and time the distribution was last modified.

Returns:
The date and time the distribution was last modified.

setLastModifiedTime

public void setLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.

Parameters:
lastModifiedTime - The date and time the distribution was last modified.

withLastModifiedTime

public DistributionSummary withLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.

Returns a reference to this object so that method calls can be chained together.

Parameters:
lastModifiedTime - The date and time the distribution was last modified.
Returns:
A reference to this updated object so that method calls can be chained together.

getDomainName

public String getDomainName()
The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

Returns:
The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

setDomainName

public void setDomainName(String domainName)
The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

Parameters:
domainName - The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

withDomainName

public DistributionSummary withDomainName(String domainName)
The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.

Returns a reference to this object so that method calls can be chained together.

Parameters:
domainName - The domain name corresponding to the distribution. For example: d604721fxaaqy9.cloudfront.net.
Returns:
A reference to this updated object so that method calls can be chained together.

getS3Origin

public S3Origin getS3Origin()
Your S3 origin bucket.

Returns:
Your S3 origin bucket.

setS3Origin

public void setS3Origin(S3Origin s3Origin)
Your S3 origin bucket.

Parameters:
s3Origin - Your S3 origin bucket.

withS3Origin

public DistributionSummary withS3Origin(S3Origin s3Origin)
Your S3 origin bucket.

Returns a reference to this object so that method calls can be chained together.

Parameters:
s3Origin - Your S3 origin bucket.
Returns:
A reference to this updated object so that method calls can be chained together.

getCustomOrigin

public CustomOrigin getCustomOrigin()
A customer origin.

Returns:
A customer origin.

setCustomOrigin

public void setCustomOrigin(CustomOrigin customOrigin)
A customer origin.

Parameters:
customOrigin - A customer origin.

withCustomOrigin

public DistributionSummary withCustomOrigin(CustomOrigin customOrigin)
A customer origin.

Returns a reference to this object so that method calls can be chained together.

Parameters:
customOrigin - A customer origin.
Returns:
A reference to this updated object so that method calls can be chained together.

getCNAME

public List<String> getCNAME()
The CNAMEs associated with this distribution.

Returns:
The CNAMEs associated with this distribution.

setCNAME

public void setCNAME(Collection<String> cNAME)
The CNAMEs associated with this distribution.

Parameters:
cNAME - The CNAMEs associated with this distribution.

withCNAME

public DistributionSummary withCNAME(String... cNAME)
The CNAMEs associated with this distribution.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cNAME - The CNAMEs associated with this distribution.
Returns:
A reference to this updated object so that method calls can be chained together.

withCNAME

public DistributionSummary withCNAME(Collection<String> cNAME)
The CNAMEs associated with this distribution.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cNAME - The CNAMEs associated with this distribution.
Returns:
A reference to this updated object so that method calls can be chained together.

getComment

public String getComment()
The comment originally specified when this distribution was created.

Returns:
The comment originally specified when this distribution was created.

setComment

public void setComment(String comment)
The comment originally specified when this distribution was created.

Parameters:
comment - The comment originally specified when this distribution was created.

withComment

public DistributionSummary withComment(String comment)
The comment originally specified when this distribution was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
comment - The comment originally specified when this distribution was created.
Returns:
A reference to this updated object so that method calls can be chained together.

isEnabled

public Boolean isEnabled()
Whether the distribution is enabled to accept end user requests for content.

Returns:
Whether the distribution is enabled to accept end user requests for content.

setEnabled

public void setEnabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for content.

Parameters:
enabled - Whether the distribution is enabled to accept end user requests for content.

withEnabled

public DistributionSummary withEnabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for content.

Returns a reference to this object so that method calls can be chained together.

Parameters:
enabled - Whether the distribution is enabled to accept end user requests for content.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnabled

public Boolean getEnabled()
Whether the distribution is enabled to accept end user requests for content.

Returns:
Whether the distribution is enabled to accept end user requests for content.

getTrustedSigners

public TrustedSigners getTrustedSigners()
The trusted signers of the URL.

Returns:
The trusted signers of the URL.

setTrustedSigners

public void setTrustedSigners(TrustedSigners trustedSigners)
The trusted signers of the URL.

Parameters:
trustedSigners - The trusted signers of the URL.

withTrustedSigners

public DistributionSummary withTrustedSigners(TrustedSigners trustedSigners)
The trusted signers of the URL.

Returns a reference to this object so that method calls can be chained together.

Parameters:
trustedSigners - The trusted signers of the URL.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.