public static interface StreamingDistributionConfig.Builder extends CopyableBuilder<StreamingDistributionConfig.Builder,StreamingDistributionConfig>
Modifier and Type | Method and Description |
---|---|
StreamingDistributionConfig.Builder |
aliases(Aliases aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming
distribution.
|
default StreamingDistributionConfig.Builder |
aliases(Consumer<Aliases.Builder> aliases)
A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming
distribution.
|
StreamingDistributionConfig.Builder |
callerReference(String callerReference)
A unique number that ensures that the request can't be replayed.
|
StreamingDistributionConfig.Builder |
comment(String comment)
Any comments you want to include about the streaming distribution.
|
StreamingDistributionConfig.Builder |
enabled(Boolean enabled)
Whether the streaming distribution is enabled to accept user requests for content.
|
default StreamingDistributionConfig.Builder |
logging(Consumer<StreamingLoggingConfig.Builder> logging)
A complex type that controls whether access logs are written for the streaming distribution.
|
StreamingDistributionConfig.Builder |
logging(StreamingLoggingConfig logging)
A complex type that controls whether access logs are written for the streaming distribution.
|
StreamingDistributionConfig.Builder |
priceClass(PriceClass priceClass)
A complex type that contains information about price class for this streaming distribution.
|
StreamingDistributionConfig.Builder |
priceClass(String priceClass)
A complex type that contains information about price class for this streaming distribution.
|
default StreamingDistributionConfig.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.
|
StreamingDistributionConfig.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.
|
default StreamingDistributionConfig.Builder |
trustedSigners(Consumer<TrustedSigners.Builder> trustedSigners)
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private
content.
|
StreamingDistributionConfig.Builder |
trustedSigners(TrustedSigners trustedSigners)
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private
content.
|
copy
applyMutation, build
StreamingDistributionConfig.Builder callerReference(String callerReference)
A unique number that ensures that the request can't be replayed. If the CallerReference
is new
(no matter the content of the StreamingDistributionConfig
object), a new streaming distribution
is created. If the CallerReference
is a value that you already sent in a previous request to
create a streaming distribution, and the content of the StreamingDistributionConfig
is identical
to the original request (ignoring white space), the response includes the same information returned to the
original request. If the CallerReference
is a value that you already sent in a previous request
to create a streaming distribution but the content of the StreamingDistributionConfig
is
different from the original request, CloudFront returns a DistributionAlreadyExists
error.
callerReference
- A unique number that ensures that the request can't be replayed. If the CallerReference
is new (no matter the content of the StreamingDistributionConfig
object), a new streaming
distribution is created. If the CallerReference
is a value that you already sent in a
previous request to create a streaming distribution, and the content of the
StreamingDistributionConfig
is identical to the original request (ignoring white space),
the response includes the same information returned to the original request. If the
CallerReference
is a value that you already sent in a previous request to create a
streaming distribution but the content of the StreamingDistributionConfig
is different
from the original request, CloudFront returns a DistributionAlreadyExists
error.StreamingDistributionConfig.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 StreamingDistributionConfig.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)
StreamingDistributionConfig.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 StreamingDistributionConfig.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)
StreamingDistributionConfig.Builder comment(String comment)
Any comments you want to include about the streaming distribution.
comment
- Any comments you want to include about the streaming distribution.StreamingDistributionConfig.Builder logging(StreamingLoggingConfig logging)
A complex type that controls whether access logs are written for the streaming distribution.
logging
- A complex type that controls whether access logs are written for the streaming distribution.default StreamingDistributionConfig.Builder logging(Consumer<StreamingLoggingConfig.Builder> logging)
A complex type that controls whether access logs are written for the streaming distribution.
This is a convenience that creates an instance of theStreamingLoggingConfig.Builder
avoiding the
need to create one manually via StreamingLoggingConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to logging(StreamingLoggingConfig)
.logging
- a consumer that will call methods on StreamingLoggingConfig.Builder
logging(StreamingLoggingConfig)
StreamingDistributionConfig.Builder trustedSigners(TrustedSigners trustedSigners)
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
trustedSigners
- A complex type that specifies any AWS accounts that you want to permit to create signed URLs for
private content. If you want the distribution to use signed URLs, include this element; if you want
the distribution to use public URLs, remove this element. For more information, see Serving
Private Content through CloudFront in the Amazon CloudFront Developer Guide.default StreamingDistributionConfig.Builder trustedSigners(Consumer<TrustedSigners.Builder> trustedSigners)
A complex type that specifies any AWS accounts that you want to permit to create signed URLs for private content. If you want the distribution to use signed URLs, include this element; if you want the distribution to use public URLs, remove this element. For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
This is a convenience that creates an instance of theTrustedSigners.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)
StreamingDistributionConfig.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
,
PriceClass
StreamingDistributionConfig.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
,
PriceClass
StreamingDistributionConfig.Builder enabled(Boolean enabled)
Whether the streaming distribution is enabled to accept user requests for content.
enabled
- Whether the streaming distribution is enabled to accept user requests for content.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.