@Generated(value="software.amazon.awssdk:codegen") public final class Distribution extends Object implements ToCopyableBuilder<Distribution.Builder,Distribution>
The distribution's information.
Modifier and Type | Class and Description |
---|---|
static interface |
Distribution.Builder |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
arn()
The ARN (Amazon Resource Name) for the distribution.
|
static Distribution.Builder |
builder() |
DistributionConfig |
distributionConfig()
The current configuration information for the distribution.
|
String |
domainName()
The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net . |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier for the distribution.
|
Integer |
inProgressInvalidationBatches()
The number of invalidation batches currently in progress.
|
Instant |
lastModifiedTime()
The date and time the distribution was last modified.
|
static Class<? extends Distribution.Builder> |
serializableBuilderClass() |
String |
status()
This response element indicates the current status of the distribution.
|
Distribution.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
EDFDVBD632BHDS5
.public 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:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where
123456789012
is your AWS account ID.public 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.
Deployed
, the distribution's information is fully propagated to all CloudFront edge
locations.public Instant lastModifiedTime()
The date and time the distribution was last modified.
public Integer inProgressInvalidationBatches()
The number of invalidation batches currently in progress.
public String domainName()
The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net
.
d111111abcdef8.cloudfront.net
.public 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.
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 DistributionConfig distributionConfig()
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Distribution.Builder,Distribution>
public static Distribution.Builder builder()
public static Class<? extends Distribution.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.