Interface StreamingDistribution.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<StreamingDistribution.Builder,StreamingDistribution>
,SdkBuilder<StreamingDistribution.Builder,StreamingDistribution>
,SdkPojo
- Enclosing class:
- StreamingDistribution
public static interface StreamingDistribution.Builder extends SdkPojo, CopyableBuilder<StreamingDistribution.Builder,StreamingDistribution>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StreamingDistribution.Builder
activeTrustedSigners(Consumer<ActiveTrustedSigners.Builder> activeTrustedSigners)
A complex type that lists the Amazon Web Services accounts, if any, that you included in theTrustedSigners
complex type for this distribution.StreamingDistribution.Builder
activeTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
A complex type that lists the Amazon Web Services accounts, if any, that you included in theTrustedSigners
complex type for this distribution.StreamingDistribution.Builder
arn(String arn)
The ARN (Amazon Resource Name) for the distribution.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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
StreamingDistribution.Builder id(String id)
The identifier for the RTMP distribution. For example:
EGTXBD79EXAMPLE
.- Parameters:
id
- The identifier for the RTMP distribution. For example:EGTXBD79EXAMPLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
StreamingDistribution.Builder arn(String arn)
The ARN (Amazon Resource Name) for the distribution. For example:
arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where123456789012
is your Amazon Web Services account ID.- Parameters:
arn
- The ARN (Amazon Resource Name) for the distribution. For example:arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5
, where123456789012
is your Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
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.- Parameters:
status
- The current status of the RTMP distribution. When the status isDeployed
, the distribution's information is propagated to all CloudFront edge locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
StreamingDistribution.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time that the distribution was last modified.
- Parameters:
lastModifiedTime
- The date and time that the distribution was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
StreamingDistribution.Builder domainName(String domainName)
The domain name that corresponds to the streaming distribution, for example,
s5c39gqb8ow64r.cloudfront.net
.- Parameters:
domainName
- The domain name that corresponds to the streaming distribution, for example,s5c39gqb8ow64r.cloudfront.net
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeTrustedSigners
StreamingDistribution.Builder activeTrustedSigners(ActiveTrustedSigners activeTrustedSigners)
A complex type that lists the Amazon Web Services 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 Amazon Web Services account number of the trusted signer orself
if the signer is the Amazon Web Services account that created the distribution. TheSigner
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If noKeyPairId
element appears for aSigner
, that signer can't create signed URLs.For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
- Parameters:
activeTrustedSigners
- A complex type that lists the Amazon Web Services accounts, if any, that you included in theTrustedSigners
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 Amazon Web Services account number of the trusted signer orself
if the signer is the Amazon Web Services account that created the distribution. TheSigner
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If noKeyPairId
element appears for aSigner
, that signer can't create signed URLs.For more information, see Serving Private Content through CloudFront in the Amazon CloudFront Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeTrustedSigners
default StreamingDistribution.Builder activeTrustedSigners(Consumer<ActiveTrustedSigners.Builder> activeTrustedSigners)
A complex type that lists the Amazon Web Services 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 Amazon Web Services account number of the trusted signer orself
if the signer is the Amazon Web Services account that created the distribution. TheSigner
element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's Amazon Web Services account. If noKeyPairId
element appears for aSigner
, 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 method that creates an instance of theActiveTrustedSigners.Builder
avoiding the need to create one manually viaActiveTrustedSigners.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactiveTrustedSigners(ActiveTrustedSigners)
.- Parameters:
activeTrustedSigners
- a consumer that will call methods onActiveTrustedSigners.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
activeTrustedSigners(ActiveTrustedSigners)
-
streamingDistributionConfig
StreamingDistribution.Builder streamingDistributionConfig(StreamingDistributionConfig streamingDistributionConfig)
The current configuration information for the RTMP distribution.
- Parameters:
streamingDistributionConfig
- The current configuration information for the RTMP distribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamingDistributionConfig
default StreamingDistribution.Builder streamingDistributionConfig(Consumer<StreamingDistributionConfig.Builder> streamingDistributionConfig)
The current configuration information for the RTMP distribution.
This is a convenience method that creates an instance of theStreamingDistributionConfig.Builder
avoiding the need to create one manually viaStreamingDistributionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamingDistributionConfig(StreamingDistributionConfig)
.- Parameters:
streamingDistributionConfig
- a consumer that will call methods onStreamingDistributionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
streamingDistributionConfig(StreamingDistributionConfig)
-
-