public static interface Distribution.Builder extends CopyableBuilder<Distribution.Builder,Distribution>
Modifier and Type | Method and Description |
---|---|
Distribution.Builder |
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.
|
default Distribution.Builder |
activeTrustedSigners(Consumer<ActiveTrustedSigners.Builder> 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.Builder |
arn(String arn)
The ARN (Amazon Resource Name) for the distribution.
|
default Distribution.Builder |
distributionConfig(Consumer<DistributionConfig.Builder> distributionConfig)
The current configuration information for the distribution.
|
Distribution.Builder |
distributionConfig(DistributionConfig distributionConfig)
The current configuration information for the distribution.
|
Distribution.Builder |
domainName(String domainName)
The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net . |
Distribution.Builder |
id(String id)
The identifier for the distribution.
|
Distribution.Builder |
inProgressInvalidationBatches(Integer inProgressInvalidationBatches)
The number of invalidation batches currently in progress.
|
Distribution.Builder |
lastModifiedTime(Instant lastModifiedTime)
The date and time the distribution was last modified.
|
Distribution.Builder |
status(String status)
This response element indicates the current status of the distribution.
|
copy
applyMutation, build
Distribution.Builder id(String id)
The identifier for the distribution. For example: EDFDVBD632BHDS5
.
id
- The identifier for the distribution. For example: EDFDVBD632BHDS5
.Distribution.Builder arn(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.Distribution.Builder status(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.Distribution.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time the distribution was last modified.
lastModifiedTime
- The date and time the distribution was last modified.Distribution.Builder inProgressInvalidationBatches(Integer inProgressInvalidationBatches)
The number of invalidation batches currently in progress.
inProgressInvalidationBatches
- The number of invalidation batches currently in progress.Distribution.Builder domainName(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
.Distribution.Builder 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.
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.default Distribution.Builder activeTrustedSigners(Consumer<ActiveTrustedSigners.Builder> 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.Builder
avoiding the need
to create one manually via ActiveTrustedSigners.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to activeTrustedSigners(ActiveTrustedSigners)
.activeTrustedSigners
- a consumer that will call methods on ActiveTrustedSigners.Builder
activeTrustedSigners(ActiveTrustedSigners)
Distribution.Builder distributionConfig(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.default Distribution.Builder distributionConfig(Consumer<DistributionConfig.Builder> distributionConfig)
The current configuration information for the distribution. Send a GET
request to the
/CloudFront API version/distribution ID/config
resource.
DistributionConfig.Builder
avoiding the need to
create one manually via DistributionConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to distributionConfig(DistributionConfig)
.distributionConfig
- a consumer that will call methods on DistributionConfig.Builder
distributionConfig(DistributionConfig)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.