CopyableBuilder<DistributionSummary.Builder,DistributionSummary>
, SdkBuilder<DistributionSummary.Builder,DistributionSummary>
public static interface DistributionSummary.Builder extends CopyableBuilder<DistributionSummary.Builder,DistributionSummary>
Modifier and Type | Method | Description |
---|---|---|
DistributionSummary.Builder |
aliases(Aliases aliases) |
A complex type that contains information about CNAMEs (alternate domain names), if any, for this
distribution.
|
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. |
DistributionSummary.Builder |
comment(String comment) |
The comment originally specified when this distribution was created.
|
DistributionSummary.Builder |
customErrorResponses(CustomErrorResponses customErrorResponses) |
A complex type that contains zero or more
CustomErrorResponses elements. |
DistributionSummary.Builder |
defaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior) |
A complex type that describes the default cache behavior if you do not 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.
|
DistributionSummary.Builder |
enabled(Boolean enabled) |
Whether the distribution is enabled to accept user requests for content.
|
DistributionSummary.Builder |
httpVersion(String httpVersion) |
Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
|
DistributionSummary.Builder |
httpVersion(HttpVersion 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(Date lastModifiedTime) |
The date and time the distribution was last modified.
|
DistributionSummary.Builder |
origins(Origins origins) |
A complex type that contains information about origins for this distribution.
|
DistributionSummary.Builder |
priceClass(String priceClass) |
|
DistributionSummary.Builder |
priceClass(PriceClass priceClass) |
|
DistributionSummary.Builder |
restrictions(Restrictions restrictions) |
|
DistributionSummary.Builder |
status(String status) |
The current status of the distribution.
|
DistributionSummary.Builder |
viewerCertificate(ViewerCertificate viewerCertificate) |
|
DistributionSummary.Builder |
webACLId(String webACLId) |
The Web ACL Id (if any) associated with the distribution.
|
copy
apply, build
DistributionSummary.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 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.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(Date 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: d604721fxaaqy9.cloudfront.net
.
domainName
- The domain name that corresponds to the distribution. For example:
d604721fxaaqy9.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.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.DistributionSummary.Builder defaultCacheBehavior(DefaultCacheBehavior defaultCacheBehavior)
A complex type that describes the default cache behavior if you do not 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 do not 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.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.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.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)
priceClass
- PriceClass
DistributionSummary.Builder priceClass(PriceClass priceClass)
priceClass
- PriceClass
DistributionSummary.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)
viewerCertificate
- DistributionSummary.Builder restrictions(Restrictions restrictions)
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
DistributionSummary.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
DistributionSummary.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.