Class CfnChannel.OutputDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.OutputDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.OutputDestinationProperty>
- Enclosing interface:
CfnChannel.OutputDestinationProperty
@Stability(Stable)
public static final class CfnChannel.OutputDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.OutputDestinationProperty>
A builder for
CfnChannel.OutputDestinationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnChannel.OutputDestinationProperty.getId()
mediaPackageSettings
(List<? extends Object> mediaPackageSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getMediaPackageSettings()
mediaPackageSettings
(IResolvable mediaPackageSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getMediaPackageSettings()
multiplexSettings
(IResolvable multiplexSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getMultiplexSettings()
multiplexSettings
(CfnChannel.MultiplexProgramChannelDestinationSettingsProperty multiplexSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getMultiplexSettings()
Sets the value ofCfnChannel.OutputDestinationProperty.getSettings()
settings
(IResolvable settings) Sets the value ofCfnChannel.OutputDestinationProperty.getSettings()
srtSettings
(List<? extends Object> srtSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getSrtSettings()
srtSettings
(IResolvable srtSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getSrtSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnChannel.OutputDestinationProperty.getId()
- Parameters:
id
- The ID for this destination.- Returns:
this
-
mediaPackageSettings
@Stability(Stable) public CfnChannel.OutputDestinationProperty.Builder mediaPackageSettings(IResolvable mediaPackageSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getMediaPackageSettings()
- Parameters:
mediaPackageSettings
- The destination settings for a MediaPackage output.- Returns:
this
-
mediaPackageSettings
@Stability(Stable) public CfnChannel.OutputDestinationProperty.Builder mediaPackageSettings(List<? extends Object> mediaPackageSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getMediaPackageSettings()
- Parameters:
mediaPackageSettings
- The destination settings for a MediaPackage output.- Returns:
this
-
multiplexSettings
@Stability(Stable) public CfnChannel.OutputDestinationProperty.Builder multiplexSettings(IResolvable multiplexSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getMultiplexSettings()
- Parameters:
multiplexSettings
- Destination settings for a Multiplex output;. one destination for both encoders.- Returns:
this
-
multiplexSettings
@Stability(Stable) public CfnChannel.OutputDestinationProperty.Builder multiplexSettings(CfnChannel.MultiplexProgramChannelDestinationSettingsProperty multiplexSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getMultiplexSettings()
- Parameters:
multiplexSettings
- Destination settings for a Multiplex output;. one destination for both encoders.- Returns:
this
-
settings
@Stability(Stable) public CfnChannel.OutputDestinationProperty.Builder settings(IResolvable settings) Sets the value ofCfnChannel.OutputDestinationProperty.getSettings()
- Parameters:
settings
- The destination settings for an output.- Returns:
this
-
settings
@Stability(Stable) public CfnChannel.OutputDestinationProperty.Builder settings(List<? extends Object> settings) Sets the value ofCfnChannel.OutputDestinationProperty.getSettings()
- Parameters:
settings
- The destination settings for an output.- Returns:
this
-
srtSettings
@Stability(Stable) public CfnChannel.OutputDestinationProperty.Builder srtSettings(IResolvable srtSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getSrtSettings()
- Parameters:
srtSettings
- the value to be set.- Returns:
this
-
srtSettings
@Stability(Stable) public CfnChannel.OutputDestinationProperty.Builder srtSettings(List<? extends Object> srtSettings) Sets the value ofCfnChannel.OutputDestinationProperty.getSrtSettings()
- Parameters:
srtSettings
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.OutputDestinationProperty>
- Returns:
- a new instance of
CfnChannel.OutputDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-