public static interface Distribution.Builder extends SdkPojo, CopyableBuilder<Distribution.Builder,Distribution>
| Modifier and Type | Method and Description |
|---|---|
Distribution.Builder |
activeTrustedKeyGroups(ActiveTrustedKeyGroups activeTrustedKeyGroups)
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this
distribution to serve private content using key groups.
|
default Distribution.Builder |
activeTrustedKeyGroups(Consumer<ActiveTrustedKeyGroups.Builder> activeTrustedKeyGroups)
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this
distribution to serve private content using key groups.
|
Distribution.Builder |
activeTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
|
default Distribution.Builder |
activeTrustedSigners(Consumer<ActiveTrustedSigners.Builder> activeTrustedSigners)
|
Distribution.Builder |
aliasICPRecordals(AliasICPRecordal... aliasICPRecordals)
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if
they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to
CloudFront.
|
Distribution.Builder |
aliasICPRecordals(Collection<AliasICPRecordal> aliasICPRecordals)
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if
they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to
CloudFront.
|
Distribution.Builder |
aliasICPRecordals(Consumer<AliasICPRecordal.Builder>... aliasICPRecordals)
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if
they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to
CloudFront.
|
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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDistribution.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 account ID.
arn - The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where
123456789012 is your 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)
We recommend using TrustedKeyGroups instead of TrustedSigners.
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using trusted signers. This field contains a list of account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.
activeTrustedSigners -
We recommend using TrustedKeyGroups instead of TrustedSigners.
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using trusted signers. This field contains a list of account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.
default Distribution.Builder activeTrustedSigners(Consumer<ActiveTrustedSigners.Builder> activeTrustedSigners)
We recommend using TrustedKeyGroups instead of TrustedSigners.
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using trusted signers. This field contains a list of account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.
This is a convenience that creates an instance of theActiveTrustedSigners.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.BuilderactiveTrustedSigners(ActiveTrustedSigners)Distribution.Builder activeTrustedKeyGroups(ActiveTrustedKeyGroups activeTrustedKeyGroups)
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using key groups. This field contains a list of key groups and the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or signed cookies.
activeTrustedKeyGroups - CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this
distribution to serve private content using key groups. This field contains a list of key groups and
the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or
signed cookies.default Distribution.Builder activeTrustedKeyGroups(Consumer<ActiveTrustedKeyGroups.Builder> activeTrustedKeyGroups)
CloudFront automatically adds this field to the response if you’ve configured a cache behavior in this distribution to serve private content using key groups. This field contains a list of key groups and the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or signed cookies.
This is a convenience that creates an instance of theActiveTrustedKeyGroups.Builder avoiding the
need to create one manually via ActiveTrustedKeyGroups.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to activeTrustedKeyGroups(ActiveTrustedKeyGroups).activeTrustedKeyGroups - a consumer that will call methods on ActiveTrustedKeyGroups.BuilderactiveTrustedKeyGroups(ActiveTrustedKeyGroups)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.BuilderdistributionConfig(DistributionConfig)Distribution.Builder aliasICPRecordals(Collection<AliasICPRecordal> aliasICPRecordals)
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
aliasICPRecordals - Amazon Web Services services in China customers must file for an Internet Content Provider (ICP)
recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME,
that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs
associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
Distribution.Builder aliasICPRecordals(AliasICPRecordal... aliasICPRecordals)
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
aliasICPRecordals - Amazon Web Services services in China customers must file for an Internet Content Provider (ICP)
recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME,
that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs
associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
Distribution.Builder aliasICPRecordals(Consumer<AliasICPRecordal.Builder>... aliasICPRecordals)
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #aliasICPRecordals(List) .aliasICPRecordals - a consumer that will call methods on List.Builder #aliasICPRecordals(List) Copyright © 2021. All rights reserved.