@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Distribution extends Object implements Serializable, Cloneable
The distribution's information.
Constructor and Description |
---|
Distribution()
Default constructor for Distribution object.
|
Distribution(String id,
String status,
String domainName)
Constructs a new Distribution object.
|
Modifier and Type | Method and Description |
---|---|
Distribution |
clone() |
boolean |
equals(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.
|
String |
getARN()
The ARN (Amazon Resource Name) for the distribution.
|
DistributionConfig |
getDistributionConfig()
The current configuration information for the distribution.
|
String |
getDomainName()
The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net . |
String |
getId()
The identifier for the distribution.
|
Integer |
getInProgressInvalidationBatches()
The number of invalidation batches currently in progress.
|
Date |
getLastModifiedTime()
The date and time the distribution was last modified.
|
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 |
setARN(String aRN)
The ARN (Amazon Resource Name) for the distribution.
|
void |
setDistributionConfig(DistributionConfig distributionConfig)
The current configuration information for the distribution.
|
void |
setDomainName(String domainName)
The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net . |
void |
setId(String id)
The identifier for the distribution.
|
void |
setInProgressInvalidationBatches(Integer inProgressInvalidationBatches)
The number of invalidation batches currently in progress.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
|
void |
setStatus(String status)
This response element indicates the current status of the distribution.
|
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 |
withARN(String aRN)
The ARN (Amazon Resource Name) for the distribution.
|
Distribution |
withDistributionConfig(DistributionConfig distributionConfig)
The current configuration information for the distribution.
|
Distribution |
withDomainName(String domainName)
The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net . |
Distribution |
withId(String id)
The identifier for the distribution.
|
Distribution |
withInProgressInvalidationBatches(Integer inProgressInvalidationBatches)
The number of invalidation batches currently in progress.
|
Distribution |
withLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
|
Distribution |
withStatus(String status)
This response element indicates the current status of the distribution.
|
public Distribution()
public Distribution(String id, String status, 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 to all CloudFront edge
locations.domainName
- The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.public void setId(String id)
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5
.public String getId()
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
EDFDVBD632BHDS5
.public Distribution withId(String id)
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5
.public void setARN(String aRN)
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is
your AWS account ID.
aRN
- The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your AWS account ID.public String getARN()
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is
your AWS account ID.
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your AWS account ID.public Distribution withARN(String aRN)
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where 123456789012
is
your AWS account ID.
aRN
- The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your AWS account ID.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 to all CloudFront edge locations.
status
- This response element indicates the current status of the distribution. When the status is
Deployed
, the distribution's information is fully propagated to all CloudFront edge
locations.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 to all CloudFront edge locations.
Deployed
, the distribution's information is fully propagated to all CloudFront edge
locations.public Distribution 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 to all CloudFront edge locations.
status
- This response element indicates the current status of the distribution. When the status is
Deployed
, the distribution's information is fully propagated to all CloudFront edge
locations.public void setLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
lastModifiedTime
- The date and time the distribution was last modified.public Date getLastModifiedTime()
The date and time the distribution was last modified.
public Distribution withLastModifiedTime(Date lastModifiedTime)
The date and time the distribution was last modified.
lastModifiedTime
- The date and time the distribution was last modified.public void setInProgressInvalidationBatches(Integer inProgressInvalidationBatches)
The number of invalidation batches currently in progress.
inProgressInvalidationBatches
- The number of invalidation batches currently in progress.public Integer getInProgressInvalidationBatches()
The number of invalidation batches currently in progress.
public Distribution withInProgressInvalidationBatches(Integer inProgressInvalidationBatches)
The number of invalidation batches currently in progress.
inProgressInvalidationBatches
- The number of invalidation batches currently in progress.public void setDomainName(String domainName)
The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.
domainName
- The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.public String getDomainName()
The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.
d111111abcdef8.cloudfront.net
.public Distribution withDomainName(String domainName)
The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.
domainName
- The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.public 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. 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.
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()
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.
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 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. 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.
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)
The current configuration information for the distribution. Send a GET
request to the
/CloudFront API version/distribution ID/config
resource.
distributionConfig
- The current configuration information for the distribution. Send a GET
request to the
/CloudFront API version/distribution ID/config
resource.public DistributionConfig getDistributionConfig()
The current configuration information for the distribution. Send a GET
request to the
/CloudFront API version/distribution ID/config
resource.
GET
request to the
/CloudFront API version/distribution ID/config
resource.public Distribution withDistributionConfig(DistributionConfig distributionConfig)
The current configuration information for the distribution. Send a GET
request to the
/CloudFront API version/distribution ID/config
resource.
distributionConfig
- The current configuration information for the distribution. Send a GET
request to the
/CloudFront API version/distribution ID/config
resource.public String toString()
toString
in class Object
Object.toString()
public Distribution clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.