public static interface StreamingDistributionSummary.Builder extends CopyableBuilder<StreamingDistributionSummary.Builder,StreamingDistributionSummary>
Modifier and Type | Method and Description |
---|---|
StreamingDistributionSummary.Builder |
aliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming
distribution.
|
default StreamingDistributionSummary.Builder |
aliases(Consumer<Aliases.Builder> aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming
distribution.
|
StreamingDistributionSummary.Builder |
arn(String arn)
The ARN (Amazon Resource Name) for the streaming distribution.
|
StreamingDistributionSummary.Builder |
comment(String comment)
The comment originally specified when this distribution was created.
|
StreamingDistributionSummary.Builder |
domainName(String domainName)
The domain name corresponding to the distribution, for example,
d111111abcdef8.cloudfront.net . |
StreamingDistributionSummary.Builder |
enabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for content.
|
StreamingDistributionSummary.Builder |
id(String id)
The identifier for the distribution, for example,
EDFDVBD632BHDS5 . |
StreamingDistributionSummary.Builder |
lastModifiedTime(Instant lastModifiedTime)
The date and time the distribution was last modified.
|
StreamingDistributionSummary.Builder |
priceClass(PriceClass priceClass)
Sets the value of the PriceClass property for this object.
|
StreamingDistributionSummary.Builder |
priceClass(String priceClass)
Sets the value of the PriceClass property for this object.
|
default StreamingDistributionSummary.Builder |
s3Origin(Consumer<S3Origin.Builder> s3Origin)
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get
your media files for distribution.
|
StreamingDistributionSummary.Builder |
s3Origin(S3Origin s3Origin)
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get
your media files for distribution.
|
StreamingDistributionSummary.Builder |
status(String status)
Indicates the current status of the distribution.
|
default StreamingDistributionSummary.Builder |
trustedSigners(Consumer<TrustedSigners.Builder> trustedSigners)
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for
private content.
|
StreamingDistributionSummary.Builder |
trustedSigners(TrustedSigners trustedSigners)
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for
private content.
|
copy
applyMutation, build
StreamingDistributionSummary.Builder id(String id)
The identifier for the distribution, for example, EDFDVBD632BHDS5
.
id
- The identifier for the distribution, for example, EDFDVBD632BHDS5
.StreamingDistributionSummary.Builder arn(String arn)
The ARN (Amazon Resource Name) for the streaming distribution. For example:
arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5
, where
123456789012
is your AWS account ID.
arn
- The ARN (Amazon Resource Name) for the streaming distribution. For example:
arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5
, where
123456789012
is your AWS account ID.StreamingDistributionSummary.Builder status(String status)
Indicates the current status of the distribution. When the status is Deployed
, the
distribution's information is fully propagated throughout the Amazon CloudFront system.
status
- Indicates the current status of the distribution. When the status is Deployed
, the
distribution's information is fully propagated throughout the Amazon CloudFront system.StreamingDistributionSummary.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time the distribution was last modified.
lastModifiedTime
- The date and time the distribution was last modified.StreamingDistributionSummary.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
.StreamingDistributionSummary.Builder s3Origin(S3Origin s3Origin)
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
s3Origin
- A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to
get your media files for distribution.default StreamingDistributionSummary.Builder s3Origin(Consumer<S3Origin.Builder> s3Origin)
A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.
This is a convenience that creates an instance of theS3Origin.Builder
avoiding the need to create
one manually via S3Origin.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to s3Origin(S3Origin)
.s3Origin
- a consumer that will call methods on S3Origin.Builder
s3Origin(S3Origin)
StreamingDistributionSummary.Builder aliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.
aliases
- A complex type that contains information about CNAMEs (alternate domain names), if any, for this
streaming distribution.default StreamingDistributionSummary.Builder aliases(Consumer<Aliases.Builder> aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming 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.Builder
aliases(Aliases)
StreamingDistributionSummary.Builder trustedSigners(TrustedSigners trustedSigners)
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for
private content. If you want to require signed URLs in requests for objects in the target origin that match
the PathPattern
for this cache behavior, specify true
for Enabled
, and
specify the applicable values for Quantity
and Items
.If you don't want to require
signed URLs in requests for objects that match PathPattern
, specify false
for
Enabled
and 0
for Quantity
. Omit Items
. To add, change,
or remove one or more trusted signers, change Enabled
to true
(if it's currently
false
), change Quantity
as applicable, and specify all of the trusted signers that
you want to include in the updated distribution.
trustedSigners
- A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs
for private content. If you want to require signed URLs in requests for objects in the target origin
that match the PathPattern
for this cache behavior, specify true
for
Enabled
, and specify the applicable values for Quantity
and
Items
.If you don't want to require signed URLs in requests for objects that match
PathPattern
, specify false
for Enabled
and 0
for
Quantity
. Omit Items
. To add, change, or remove one or more trusted signers,
change Enabled
to true
(if it's currently false
), change
Quantity
as applicable, and specify all of the trusted signers that you want to include
in the updated distribution.default StreamingDistributionSummary.Builder trustedSigners(Consumer<TrustedSigners.Builder> trustedSigners)
A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for
private content. If you want to require signed URLs in requests for objects in the target origin that match
the PathPattern
for this cache behavior, specify true
for Enabled
, and
specify the applicable values for Quantity
and Items
.If you don't want to require
signed URLs in requests for objects that match PathPattern
, specify false
for
Enabled
and 0
for Quantity
. Omit Items
. To add, change,
or remove one or more trusted signers, change Enabled
to true
(if it's currently
false
), change Quantity
as applicable, and specify all of the trusted signers that
you want to include in the updated distribution.
TrustedSigners.Builder
avoiding the need to
create one manually via TrustedSigners.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to trustedSigners(TrustedSigners)
.trustedSigners
- a consumer that will call methods on TrustedSigners.Builder
trustedSigners(TrustedSigners)
StreamingDistributionSummary.Builder comment(String comment)
The comment originally specified when this distribution was created.
comment
- The comment originally specified when this distribution was created.StreamingDistributionSummary.Builder priceClass(String priceClass)
priceClass
- The new value for the PriceClass property for this object.PriceClass
,
PriceClass
StreamingDistributionSummary.Builder priceClass(PriceClass priceClass)
priceClass
- The new value for the PriceClass property for this object.PriceClass
,
PriceClass
StreamingDistributionSummary.Builder enabled(Boolean enabled)
Whether the distribution is enabled to accept end user requests for content.
enabled
- Whether the distribution is enabled to accept end user requests for content.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.