Class CfnStreamingDistributionProps.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnStreamingDistributionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamingDistributionProps>
- Enclosing interface:
CfnStreamingDistributionProps
@Stability(Stable)
public static final class CfnStreamingDistributionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamingDistributionProps>
A builder for
CfnStreamingDistributionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.streamingDistributionConfig
(IResolvable streamingDistributionConfig) Sets the value ofCfnStreamingDistributionProps.getStreamingDistributionConfig()
streamingDistributionConfig
(CfnStreamingDistribution.StreamingDistributionConfigProperty streamingDistributionConfig) Sets the value ofCfnStreamingDistributionProps.getStreamingDistributionConfig()
Sets the value ofCfnStreamingDistributionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
streamingDistributionConfig
@Stability(Stable) public CfnStreamingDistributionProps.Builder streamingDistributionConfig(IResolvable streamingDistributionConfig) Sets the value ofCfnStreamingDistributionProps.getStreamingDistributionConfig()
- Parameters:
streamingDistributionConfig
- The current configuration information for the RTMP distribution. This parameter is required.- Returns:
this
-
streamingDistributionConfig
@Stability(Stable) public CfnStreamingDistributionProps.Builder streamingDistributionConfig(CfnStreamingDistribution.StreamingDistributionConfigProperty streamingDistributionConfig) Sets the value ofCfnStreamingDistributionProps.getStreamingDistributionConfig()
- Parameters:
streamingDistributionConfig
- The current configuration information for the RTMP distribution. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnStreamingDistributionProps.getTags()
- Parameters:
tags
- A complex type that contains zero or moreTag
elements.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStreamingDistributionProps>
- Returns:
- a new instance of
CfnStreamingDistributionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-