public class Distribution
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private ActiveTrustedSigners |
activeTrustedSigners
CloudFront automatically adds this element to the response only if you've
set up the distribution to serve private content with signed URLs.
|
private DistributionConfig |
distributionConfig
The current configuration information for the distribution.
|
private java.lang.String |
domainName
The domain name corresponding to the distribution.
|
private java.lang.String |
id
The identifier for the distribution.
|
private java.lang.Integer |
inProgressInvalidationBatches
The number of invalidation batches currently in progress.
|
private java.util.Date |
lastModifiedTime
The date and time the distribution was last modified.
|
private java.lang.String |
status
This response element indicates the current status of the distribution.
|
Constructor and Description |
---|
Distribution()
Default constructor for Distribution object.
|
Distribution(java.lang.String id,
java.lang.String status,
java.lang.String domainName)
Constructs a new Distribution object.
|
Modifier and Type | Method and Description |
---|---|
Distribution |
clone() |
boolean |
equals(java.lang.Object obj) |
ActiveTrustedSigners |
getActiveTrustedSigners()
CloudFront automatically adds this element to the response only if you've
set up the distribution to serve private content with signed URLs.
|
DistributionConfig |
getDistributionConfig()
The current configuration information for the distribution.
|
java.lang.String |
getDomainName()
The domain name corresponding to the distribution.
|
java.lang.String |
getId()
The identifier for the distribution.
|
java.lang.Integer |
getInProgressInvalidationBatches()
The number of invalidation batches currently in progress.
|
java.util.Date |
getLastModifiedTime()
The date and time the distribution was last modified.
|
java.lang.String |
getStatus()
This response element indicates the current status of the distribution.
|
int |
hashCode() |
void |
setActiveTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
CloudFront automatically adds this element to the response only if you've
set up the distribution to serve private content with signed URLs.
|
void |
setDistributionConfig(DistributionConfig distributionConfig)
The current configuration information for the distribution.
|
void |
setDomainName(java.lang.String domainName)
The domain name corresponding to the distribution.
|
void |
setId(java.lang.String id)
The identifier for the distribution.
|
void |
setInProgressInvalidationBatches(java.lang.Integer inProgressInvalidationBatches)
The number of invalidation batches currently in progress.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time the distribution was last modified.
|
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.
|
Distribution |
withActiveTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
CloudFront automatically adds this element to the response only if you've
set up the distribution to serve private content with signed URLs.
|
Distribution |
withDistributionConfig(DistributionConfig distributionConfig)
The current configuration information for the distribution.
|
Distribution |
withDomainName(java.lang.String domainName)
The domain name corresponding to the distribution.
|
Distribution |
withId(java.lang.String id)
The identifier for the distribution.
|
Distribution |
withInProgressInvalidationBatches(java.lang.Integer inProgressInvalidationBatches)
The number of invalidation batches currently in progress.
|
Distribution |
withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time the distribution was last modified.
|
Distribution |
withStatus(java.lang.String status)
This response element indicates the current status of the distribution.
|
private java.lang.String id
private java.lang.String status
private java.util.Date lastModifiedTime
private java.lang.Integer inProgressInvalidationBatches
private java.lang.String domainName
private ActiveTrustedSigners activeTrustedSigners
private DistributionConfig distributionConfig
public Distribution()
public Distribution(java.lang.String id, java.lang.String status, java.lang.String domainName)
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.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.domainName
- The domain name corresponding to the distribution. For example:
d604721fxaaqy9.cloudfront.net.public void setId(java.lang.String id)
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.public java.lang.String getId()
public Distribution withId(java.lang.String id)
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5.public void setStatus(java.lang.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 java.lang.String getStatus()
public Distribution withStatus(java.lang.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 void setLastModifiedTime(java.util.Date lastModifiedTime)
lastModifiedTime
- The date and time the distribution was last modified.public java.util.Date getLastModifiedTime()
public Distribution withLastModifiedTime(java.util.Date lastModifiedTime)
lastModifiedTime
- The date and time the distribution was last modified.public void setInProgressInvalidationBatches(java.lang.Integer inProgressInvalidationBatches)
inProgressInvalidationBatches
- The number of invalidation batches currently in progress.public java.lang.Integer getInProgressInvalidationBatches()
public Distribution withInProgressInvalidationBatches(java.lang.Integer inProgressInvalidationBatches)
inProgressInvalidationBatches
- The number of invalidation batches currently in progress.public void setDomainName(java.lang.String domainName)
domainName
- The domain name corresponding to the distribution. For example:
d604721fxaaqy9.cloudfront.net.public java.lang.String getDomainName()
public Distribution withDomainName(java.lang.String domainName)
domainName
- The domain name corresponding to the distribution. For example:
d604721fxaaqy9.cloudfront.net.public void setActiveTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
activeTrustedSigners
- CloudFront automatically adds this element to the response only if
you've set up the distribution to serve private content with
signed URLs. The element lists the key pair IDs that CloudFront is
aware of for each trusted signer. The Signer child element lists
the AWS account number of the trusted signer (or an empty Self
element if the signer is you). The Signer element also includes
the IDs of any active key pairs associated with the trusted
signer's AWS account. If no KeyPairId element appears for a
Signer, that signer can't create working signed URLs.public ActiveTrustedSigners getActiveTrustedSigners()
public Distribution withActiveTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
activeTrustedSigners
- CloudFront automatically adds this element to the response only if
you've set up the distribution to serve private content with
signed URLs. The element lists the key pair IDs that CloudFront is
aware of for each trusted signer. The Signer child element lists
the AWS account number of the trusted signer (or an empty Self
element if the signer is you). The Signer element also includes
the IDs of any active key pairs associated with the trusted
signer's AWS account. If no KeyPairId element appears for a
Signer, that signer can't create working signed URLs.public void setDistributionConfig(DistributionConfig distributionConfig)
distributionConfig
- The current configuration information for the distribution.public DistributionConfig getDistributionConfig()
public Distribution withDistributionConfig(DistributionConfig distributionConfig)
distributionConfig
- The current configuration information for the distribution.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Distribution clone()
clone
in class java.lang.Object