public static interface StreamingDistribution.Builder extends CopyableBuilder<StreamingDistribution.Builder,StreamingDistribution>
Modifier and Type | Method and Description |
---|---|
StreamingDistribution.Builder |
activeTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
A complex type that lists the AWS accounts, if any, that you included in the
TrustedSigners
complex type for this distribution. |
default StreamingDistribution.Builder |
activeTrustedSigners(Consumer<ActiveTrustedSigners.Builder> activeTrustedSigners)
A complex type that lists the AWS accounts, if any, that you included in the
TrustedSigners
complex type for this distribution. |
StreamingDistribution.Builder |
arn(String arn)
Sets the value of the ARN property for this object.
|
StreamingDistribution.Builder |
domainName(String domainName)
The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net . |
StreamingDistribution.Builder |
id(String id)
The identifier for the RTMP distribution.
|
StreamingDistribution.Builder |
lastModifiedTime(Instant lastModifiedTime)
The date and time that the distribution was last modified.
|
StreamingDistribution.Builder |
status(String status)
The current status of the RTMP distribution.
|
default StreamingDistribution.Builder |
streamingDistributionConfig(Consumer<StreamingDistributionConfig.Builder> streamingDistributionConfig)
The current configuration information for the RTMP distribution.
|
StreamingDistribution.Builder |
streamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the RTMP distribution.
|
copy
apply, build
StreamingDistribution.Builder id(String id)
The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.
id
- The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE
.StreamingDistribution.Builder arn(String arn)
arn
- The new value for the ARN property for this object.StreamingDistribution.Builder status(String status)
The current status of the RTMP distribution. When the status is Deployed
, the distribution's
information is propagated to all CloudFront edge locations.
status
- The current status of the RTMP distribution. When the status is Deployed
, the
distribution's information is propagated to all CloudFront edge locations.StreamingDistribution.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time that the distribution was last modified.
lastModifiedTime
- The date and time that the distribution was last modified.StreamingDistribution.Builder domainName(String domainName)
The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net
.
domainName
- The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net
.StreamingDistribution.Builder activeTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners
complex type for this distribution. These are the accounts that you want to allow to create signed URLs for
private content.
The Signer
complex type lists the AWS account number of the trusted signer or self
if the signer is the AWS account that created the distribution. The Signer
element also includes
the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no
KeyPairId
element appears for a Signer
, that signer can't create signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
activeTrustedSigners
- A complex type that lists the AWS accounts, if any, that you included in the
TrustedSigners
complex type for this distribution. These are the accounts that you want
to allow to create signed URLs for private content.
The Signer
complex type lists the AWS account number of the trusted signer or
self
if the signer is the AWS account that created the distribution. The
Signer
element also includes the IDs of any active CloudFront key pairs that are
associated with the trusted signer's AWS account. If no KeyPairId
element appears for a
Signer
, that signer can't create signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
default StreamingDistribution.Builder activeTrustedSigners(Consumer<ActiveTrustedSigners.Builder> activeTrustedSigners)
A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners
complex type for this distribution. These are the accounts that you want to allow to create signed URLs for
private content.
The Signer
complex type lists the AWS account number of the trusted signer or self
if the signer is the AWS account that created the distribution. The Signer
element also includes
the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no
KeyPairId
element appears for a Signer
, that signer can't create signed URLs.
For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
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.Builder
activeTrustedSigners(ActiveTrustedSigners)
StreamingDistribution.Builder streamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the RTMP distribution.
streamingDistributionConfig
- The current configuration information for the RTMP distribution.default StreamingDistribution.Builder streamingDistributionConfig(Consumer<StreamingDistributionConfig.Builder> streamingDistributionConfig)
The current configuration information for the RTMP distribution.
This is a convenience that creates an instance of theStreamingDistributionConfig.Builder
avoiding
the need to create one manually via StreamingDistributionConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to streamingDistributionConfig(StreamingDistributionConfig)
.streamingDistributionConfig
- a consumer that will call methods on StreamingDistributionConfig.Builder
streamingDistributionConfig(StreamingDistributionConfig)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.