Class DistributionSummary
java.lang.Object
com.amazonaws.services.cloudfront.model.DistributionSummary
- All Implemented Interfaces:
Serializable
,Cloneable
A summary of the information for an Amazon CloudFront distribution.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.A complex type that contains zero or more CacheBehavior elements.The comment originally specified when this distribution was created.A complex type that contains zero or more CustomErrorResponses elements.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.The domain name corresponding to the distribution.Whether the distribution is enabled to accept end user requests for content.getId()
The identifier for the distribution.The date and time the distribution was last modified.A complex type that contains information about origins for this distribution.This response element indicates the current status of the distribution.The Web ACL Id (if any) associated with the distribution.int
hashCode()
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
(String comment) The comment originally specified when this distribution was created.void
setCustomErrorResponses
(CustomErrorResponses customErrorResponses) A complex type that contains zero or more CustomErrorResponses elements.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
(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
The identifier for the distribution.void
setLastModifiedTime
(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
setPriceClass
(PriceClass priceClass) void
setPriceClass
(String priceClass) void
setRestrictions
(Restrictions restrictions) void
This response element indicates the current status of the distribution.void
setViewerCertificate
(ViewerCertificate viewerCertificate) void
setWebACLId
(String webACLId) The Web ACL Id (if any) associated with the distribution.toString()
Returns a string representation of this object; useful for testing and debugging.withAliases
(Aliases aliases) A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.withCacheBehaviors
(CacheBehaviors cacheBehaviors) A complex type that contains zero or more CacheBehavior elements.withComment
(String comment) The comment originally specified when this distribution was created.withCustomErrorResponses
(CustomErrorResponses customErrorResponses) A complex type that contains zero or more CustomErrorResponses elements.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.withDomainName
(String domainName) The domain name corresponding to the distribution.withEnabled
(Boolean enabled) Whether the distribution is enabled to accept end user requests for content.The identifier for the distribution.withLastModifiedTime
(Date lastModifiedTime) The date and time the distribution was last modified.withOrigins
(Origins origins) A complex type that contains information about origins for this distribution.withPriceClass
(PriceClass priceClass) withPriceClass
(String priceClass) withRestrictions
(Restrictions restrictions) withStatus
(String status) This response element indicates the current status of the distribution.withViewerCertificate
(ViewerCertificate viewerCertificate) withWebACLId
(String webACLId) The Web ACL Id (if any) associated with the distribution.
-
Constructor Details
-
DistributionSummary
public DistributionSummary()
-
-
Method Details
-
setId
The identifier for the distribution. For example: EDFDVBD632BHDS5.- Parameters:
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.
-
getId
The identifier for the distribution. For example: EDFDVBD632BHDS5.- Returns:
- The identifier for the distribution. For example: EDFDVBD632BHDS5.
-
withId
The identifier for the distribution. For example: EDFDVBD632BHDS5.- Parameters:
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
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.
-
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.
-
withStatus
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastModifiedTime
The date and time the distribution was last modified.- Parameters:
lastModifiedTime
- The date and time the distribution was last modified.
-
getLastModifiedTime
The date and time the distribution was last modified.- Returns:
- The date and time the distribution was last modified.
-
withLastModifiedTime
The date and time the distribution was last modified.- Parameters:
lastModifiedTime
- The date and time the distribution was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDomainName
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.
-
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.
-
withDomainName
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAliases
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.
-
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.
-
withAliases
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOrigins
A complex type that contains information about origins for this distribution.- Parameters:
origins
- A complex type that contains information about origins for this distribution.
-
getOrigins
A complex type that contains information about origins for this distribution.- Returns:
- A complex type that contains information about origins for this distribution.
-
withOrigins
A complex type that contains information about origins for this distribution.- Parameters:
origins
- A complex type that contains information about origins for this distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDefaultCacheBehavior
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.
-
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.
-
withDefaultCacheBehavior
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheBehaviors
A complex type that contains zero or more CacheBehavior elements.- Parameters:
cacheBehaviors
- A complex type that contains zero or more CacheBehavior elements.
-
getCacheBehaviors
A complex type that contains zero or more CacheBehavior elements.- Returns:
- A complex type that contains zero or more CacheBehavior elements.
-
withCacheBehaviors
A complex type that contains zero or more CacheBehavior elements.- Parameters:
cacheBehaviors
- A complex type that contains zero or more CacheBehavior elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCustomErrorResponses
A complex type that contains zero or more CustomErrorResponses elements.- Parameters:
customErrorResponses
- A complex type that contains zero or more CustomErrorResponses elements.
-
getCustomErrorResponses
A complex type that contains zero or more CustomErrorResponses elements.- Returns:
- A complex type that contains zero or more CustomErrorResponses elements.
-
withCustomErrorResponses
A complex type that contains zero or more CustomErrorResponses elements.- Parameters:
customErrorResponses
- A complex type that contains zero or more CustomErrorResponses elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComment
The comment originally specified when this distribution was created.- Parameters:
comment
- The comment originally specified when this distribution was created.
-
getComment
The comment originally specified when this distribution was created.- Returns:
- The comment originally specified when this distribution was created.
-
withComment
The comment originally specified when this distribution was created.- Parameters:
comment
- The comment originally specified when this distribution was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPriceClass
- Parameters:
priceClass
-- See Also:
-
getPriceClass
- Returns:
- See Also:
-
withPriceClass
- Parameters:
priceClass
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setPriceClass
- Parameters:
priceClass
-- See Also:
-
withPriceClass
- Parameters:
priceClass
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setEnabled
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.
-
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.
-
withEnabled
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
setViewerCertificate
- Parameters:
viewerCertificate
-
-
getViewerCertificate
- Returns:
-
withViewerCertificate
- Parameters:
viewerCertificate
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRestrictions
- Parameters:
restrictions
-
-
getRestrictions
- Returns:
-
withRestrictions
- Parameters:
restrictions
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWebACLId
The Web ACL Id (if any) associated with the distribution.- Parameters:
webACLId
- The Web ACL Id (if any) associated with the distribution.
-
getWebACLId
The Web ACL Id (if any) associated with the distribution.- Returns:
- The Web ACL Id (if any) associated with the distribution.
-
withWebACLId
The Web ACL Id (if any) associated with the distribution.- Parameters:
webACLId
- The Web ACL Id (if any) associated with the distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-