Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront.model
Class DistributionSummary

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

public class DistributionSummary
extends java.lang.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(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 getStatus()
          This response element indicates the current status of the 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 setStatus(java.lang.String status)
          This response element indicates the current status of the 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 withStatus(java.lang.String status)
          This response element indicates the current status of the distribution.
 
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 java.lang.String getId()
The identifier for the distribution. For example: EDFDVBD632BHDS5.

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

setId

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

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

withId

public DistributionSummary withId(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.util.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(java.util.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(java.util.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 java.lang.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(java.lang.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(java.lang.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.

getAliases

public Aliases getAliases()
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

Returns:
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

setAliases

public void setAliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

Parameters:
aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

withAliases

public DistributionSummary withAliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

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

Parameters:
aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
Returns:
A reference to this updated object so that method calls can be chained together.

getOrigins

public Origins getOrigins()
A complex type that contains information about origins for this distribution.

Returns:
A complex type that contains information about origins for this distribution.

setOrigins

public void setOrigins(Origins origins)
A complex type that contains information about origins for this distribution.

Parameters:
origins - A complex type that contains information about origins for this distribution.

withOrigins

public DistributionSummary withOrigins(Origins origins)
A complex type that contains information about origins for this distribution.

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

Parameters:
origins - A complex type that contains information about origins for this distribution.
Returns:
A reference to this updated object so that method calls can be chained together.

getDefaultCacheBehavior

public 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.

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

setDefaultCacheBehavior

public 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.

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

withDefaultCacheBehavior

public 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.

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

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

getCacheBehaviors

public CacheBehaviors getCacheBehaviors()
A complex type that contains zero or more CacheBehavior elements.

Returns:
A complex type that contains zero or more CacheBehavior elements.

setCacheBehaviors

public void setCacheBehaviors(CacheBehaviors cacheBehaviors)
A complex type that contains zero or more CacheBehavior elements.

Parameters:
cacheBehaviors - A complex type that contains zero or more CacheBehavior elements.

withCacheBehaviors

public DistributionSummary withCacheBehaviors(CacheBehaviors cacheBehaviors)
A complex type that contains zero or more CacheBehavior elements.

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

Parameters:
cacheBehaviors - A complex type that contains zero or more CacheBehavior elements.
Returns:
A reference to this updated object so that method calls can be chained together.

getComment

public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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