public static interface DistributionSummary.Builder extends SdkPojo, CopyableBuilder<DistributionSummary.Builder,DistributionSummary>
| Modifier and Type | Method and Description |
|---|---|
DistributionSummary.Builder |
aliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this
distribution.
|
default DistributionSummary.Builder |
aliases(Consumer<Aliases.Builder> aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this
distribution.
|
DistributionSummary.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.
|
DistributionSummary.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.
|
DistributionSummary.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.
|
DistributionSummary.Builder |
arn(String arn)
The ARN (Amazon Resource Name) for the distribution.
|
DistributionSummary.Builder |
cacheBehaviors(CacheBehaviors cacheBehaviors)
A complex type that contains zero or more
CacheBehavior elements. |
default DistributionSummary.Builder |
cacheBehaviors(Consumer<CacheBehaviors.Builder> cacheBehaviors)
A complex type that contains zero or more
CacheBehavior elements. |
DistributionSummary.Builder |
comment(String comment)
The comment originally specified when this distribution was created.
|
default DistributionSummary.Builder |
customErrorResponses(Consumer<CustomErrorResponses.Builder> customErrorResponses)
A complex type that contains zero or more
CustomErrorResponses elements. |
DistributionSummary.Builder |
customErrorResponses(CustomErrorResponses customErrorResponses)
A complex type that contains zero or more
CustomErrorResponses elements. |
default DistributionSummary.Builder |
defaultCacheBehavior(Consumer<DefaultCacheBehavior.Builder> defaultCacheBehavior)
A complex type that describes the default cache behavior if you don't specify a
CacheBehavior
element or if files don't match any of the values of PathPattern in CacheBehavior
elements. |
DistributionSummary.Builder |
defaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you don't specify a
CacheBehavior
element or if files don't match any of the values of PathPattern in CacheBehavior
elements. |
DistributionSummary.Builder |
domainName(String domainName)
The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net
. |
DistributionSummary.Builder |
enabled(Boolean enabled)
Whether the distribution is enabled to accept user requests for content.
|
DistributionSummary.Builder |
httpVersion(HttpVersion httpVersion)
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
DistributionSummary.Builder |
httpVersion(String httpVersion)
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
DistributionSummary.Builder |
id(String id)
The identifier for the distribution.
|
DistributionSummary.Builder |
isIPV6Enabled(Boolean isIPV6Enabled)
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
|
DistributionSummary.Builder |
lastModifiedTime(Instant lastModifiedTime)
The date and time the distribution was last modified.
|
default DistributionSummary.Builder |
originGroups(Consumer<OriginGroups.Builder> originGroups)
A complex type that contains information about origin groups for this distribution.
|
DistributionSummary.Builder |
originGroups(OriginGroups originGroups)
A complex type that contains information about origin groups for this distribution.
|
default DistributionSummary.Builder |
origins(Consumer<Origins.Builder> origins)
A complex type that contains information about origins for this distribution.
|
DistributionSummary.Builder |
origins(Origins origins)
A complex type that contains information about origins for this distribution.
|
DistributionSummary.Builder |
priceClass(PriceClass priceClass)
A complex type that contains information about price class for this streaming distribution.
|
DistributionSummary.Builder |
priceClass(String priceClass)
A complex type that contains information about price class for this streaming distribution.
|
default DistributionSummary.Builder |
restrictions(Consumer<Restrictions.Builder> restrictions)
A complex type that identifies ways in which you want to restrict distribution of your content.
|
DistributionSummary.Builder |
restrictions(Restrictions restrictions)
A complex type that identifies ways in which you want to restrict distribution of your content.
|
DistributionSummary.Builder |
status(String status)
The current status of the distribution.
|
default DistributionSummary.Builder |
viewerCertificate(Consumer<ViewerCertificate.Builder> viewerCertificate)
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
|
DistributionSummary.Builder |
viewerCertificate(ViewerCertificate viewerCertificate)
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
|
DistributionSummary.Builder |
webACLId(String webACLId)
The Web ACL Id (if any) associated with the distribution.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDistributionSummary.Builder id(String id)
The identifier for the distribution. For example: EDFDVBD632BHDS5.
id - The identifier for the distribution. For example: EDFDVBD632BHDS5.DistributionSummary.Builder arn(String arn)
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012
is your Amazon Web Services account ID.
arn - The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where
123456789012 is your Amazon Web Services account ID.DistributionSummary.Builder status(String status)
The current status of the distribution. When the status is Deployed, the distribution's
information is propagated to all CloudFront edge locations.
status - The current status of the distribution. When the status is Deployed, the distribution's
information is propagated to all CloudFront edge locations.DistributionSummary.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time the distribution was last modified.
lastModifiedTime - The date and time the distribution was last modified.DistributionSummary.Builder domainName(String domainName)
The domain name that corresponds to the distribution, for example, d111111abcdef8.cloudfront.net
.
domainName - The domain name that corresponds to the distribution, for example,
d111111abcdef8.cloudfront.net.DistributionSummary.Builder aliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
aliases - A complex type that contains information about CNAMEs (alternate domain names), if any, for this
distribution.default DistributionSummary.Builder aliases(Consumer<Aliases.Builder> aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
This is a convenience that creates an instance of theAliases.Builder avoiding the need to create one
manually via Aliases.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to aliases(Aliases).aliases - a consumer that will call methods on Aliases.Builderaliases(Aliases)DistributionSummary.Builder origins(Origins origins)
A complex type that contains information about origins for this distribution.
origins - A complex type that contains information about origins for this distribution.default DistributionSummary.Builder origins(Consumer<Origins.Builder> origins)
A complex type that contains information about origins for this distribution.
This is a convenience that creates an instance of theOrigins.Builder avoiding the need to create one
manually via Origins.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to origins(Origins).origins - a consumer that will call methods on Origins.Builderorigins(Origins)DistributionSummary.Builder originGroups(OriginGroups originGroups)
A complex type that contains information about origin groups for this distribution.
originGroups - A complex type that contains information about origin groups for this distribution.default DistributionSummary.Builder originGroups(Consumer<OriginGroups.Builder> originGroups)
A complex type that contains information about origin groups for this distribution.
This is a convenience that creates an instance of theOriginGroups.Builder avoiding the need to
create one manually via OriginGroups.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to originGroups(OriginGroups).originGroups - a consumer that will call methods on OriginGroups.BuilderoriginGroups(OriginGroups)DistributionSummary.Builder defaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you don't specify a CacheBehavior
element or if files don't match any of the values of PathPattern in CacheBehavior
elements. You must create exactly one default cache behavior.
defaultCacheBehavior - A complex type that describes the default cache behavior if you don't specify a
CacheBehavior element or if files don't match any of the values of
PathPattern in CacheBehavior elements. You must create exactly one default
cache behavior.default DistributionSummary.Builder defaultCacheBehavior(Consumer<DefaultCacheBehavior.Builder> defaultCacheBehavior)
A complex type that describes the default cache behavior if you don't specify a CacheBehavior
element or if files don't match any of the values of PathPattern in CacheBehavior
elements. You must create exactly one default cache behavior.
DefaultCacheBehavior.Builder avoiding the need
to create one manually via DefaultCacheBehavior.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to defaultCacheBehavior(DefaultCacheBehavior).defaultCacheBehavior - a consumer that will call methods on DefaultCacheBehavior.BuilderdefaultCacheBehavior(DefaultCacheBehavior)DistributionSummary.Builder cacheBehaviors(CacheBehaviors cacheBehaviors)
A complex type that contains zero or more CacheBehavior elements.
cacheBehaviors - A complex type that contains zero or more CacheBehavior elements.default DistributionSummary.Builder cacheBehaviors(Consumer<CacheBehaviors.Builder> cacheBehaviors)
A complex type that contains zero or more CacheBehavior elements.
CacheBehaviors.Builder avoiding the need to
create one manually via CacheBehaviors.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to cacheBehaviors(CacheBehaviors).cacheBehaviors - a consumer that will call methods on CacheBehaviors.BuildercacheBehaviors(CacheBehaviors)DistributionSummary.Builder customErrorResponses(CustomErrorResponses customErrorResponses)
A complex type that contains zero or more CustomErrorResponses elements.
customErrorResponses - A complex type that contains zero or more CustomErrorResponses elements.default DistributionSummary.Builder customErrorResponses(Consumer<CustomErrorResponses.Builder> customErrorResponses)
A complex type that contains zero or more CustomErrorResponses elements.
CustomErrorResponses.Builder avoiding the need
to create one manually via CustomErrorResponses.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to customErrorResponses(CustomErrorResponses).customErrorResponses - a consumer that will call methods on CustomErrorResponses.BuildercustomErrorResponses(CustomErrorResponses)DistributionSummary.Builder comment(String comment)
The comment originally specified when this distribution was created.
comment - The comment originally specified when this distribution was created.DistributionSummary.Builder priceClass(String priceClass)
A complex type that contains information about price class for this streaming distribution.
priceClass - A complex type that contains information about price class for this streaming distribution.PriceClass,
PriceClassDistributionSummary.Builder priceClass(PriceClass priceClass)
A complex type that contains information about price class for this streaming distribution.
priceClass - A complex type that contains information about price class for this streaming distribution.PriceClass,
PriceClassDistributionSummary.Builder enabled(Boolean enabled)
Whether the distribution is enabled to accept user requests for content.
enabled - Whether the distribution is enabled to accept user requests for content.DistributionSummary.Builder viewerCertificate(ViewerCertificate viewerCertificate)
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
viewerCertificate - A complex type that determines the distribution’s SSL/TLS configuration for communicating with
viewers.default DistributionSummary.Builder viewerCertificate(Consumer<ViewerCertificate.Builder> viewerCertificate)
A complex type that determines the distribution’s SSL/TLS configuration for communicating with viewers.
This is a convenience that creates an instance of theViewerCertificate.Builder avoiding the need to
create one manually via ViewerCertificate.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to viewerCertificate(ViewerCertificate).viewerCertificate - a consumer that will call methods on ViewerCertificate.BuilderviewerCertificate(ViewerCertificate)DistributionSummary.Builder restrictions(Restrictions restrictions)
A complex type that identifies ways in which you want to restrict distribution of your content.
restrictions - A complex type that identifies ways in which you want to restrict distribution of your content.default DistributionSummary.Builder restrictions(Consumer<Restrictions.Builder> restrictions)
A complex type that identifies ways in which you want to restrict distribution of your content.
This is a convenience that creates an instance of theRestrictions.Builder avoiding the need to
create one manually via Restrictions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to restrictions(Restrictions).restrictions - a consumer that will call methods on Restrictions.Builderrestrictions(Restrictions)DistributionSummary.Builder webACLId(String webACLId)
The Web ACL Id (if any) associated with the distribution.
webACLId - The Web ACL Id (if any) associated with the distribution.DistributionSummary.Builder httpVersion(String httpVersion)
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default
value for new web distributions is http2. Viewers that don't support HTTP/2 will
automatically use an earlier version.
httpVersion - Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The
default value for new web distributions is http2. Viewers that don't support
HTTP/2 will automatically use an earlier version.HttpVersion,
HttpVersionDistributionSummary.Builder httpVersion(HttpVersion httpVersion)
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default
value for new web distributions is http2. Viewers that don't support HTTP/2 will
automatically use an earlier version.
httpVersion - Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The
default value for new web distributions is http2. Viewers that don't support
HTTP/2 will automatically use an earlier version.HttpVersion,
HttpVersionDistributionSummary.Builder isIPV6Enabled(Boolean isIPV6Enabled)
Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.
isIPV6Enabled - Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.DistributionSummary.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.
DistributionSummary.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.
DistributionSummary.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.