Class CfnChannel.AudioSelectorSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.AudioSelectorSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.AudioSelectorSettingsProperty>
- Enclosing interface:
CfnChannel.AudioSelectorSettingsProperty
@Stability(Stable)
public static final class CfnChannel.AudioSelectorSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.AudioSelectorSettingsProperty>
A builder for
CfnChannel.AudioSelectorSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaudioHlsRenditionSelection
(IResolvable audioHlsRenditionSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioHlsRenditionSelection()
audioHlsRenditionSelection
(CfnChannel.AudioHlsRenditionSelectionProperty audioHlsRenditionSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioHlsRenditionSelection()
audioLanguageSelection
(IResolvable audioLanguageSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioLanguageSelection()
audioLanguageSelection
(CfnChannel.AudioLanguageSelectionProperty audioLanguageSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioLanguageSelection()
audioPidSelection
(IResolvable audioPidSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioPidSelection()
audioPidSelection
(CfnChannel.AudioPidSelectionProperty audioPidSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioPidSelection()
audioTrackSelection
(IResolvable audioTrackSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioTrackSelection()
audioTrackSelection
(CfnChannel.AudioTrackSelectionProperty audioTrackSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioTrackSelection()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioHlsRenditionSelection
@Stability(Stable) public CfnChannel.AudioSelectorSettingsProperty.Builder audioHlsRenditionSelection(IResolvable audioHlsRenditionSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioHlsRenditionSelection()
- Parameters:
audioHlsRenditionSelection
- Selector for HLS audio rendition.- Returns:
this
-
audioHlsRenditionSelection
@Stability(Stable) public CfnChannel.AudioSelectorSettingsProperty.Builder audioHlsRenditionSelection(CfnChannel.AudioHlsRenditionSelectionProperty audioHlsRenditionSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioHlsRenditionSelection()
- Parameters:
audioHlsRenditionSelection
- Selector for HLS audio rendition.- Returns:
this
-
audioLanguageSelection
@Stability(Stable) public CfnChannel.AudioSelectorSettingsProperty.Builder audioLanguageSelection(IResolvable audioLanguageSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioLanguageSelection()
- Parameters:
audioLanguageSelection
- The language code of the audio to select.- Returns:
this
-
audioLanguageSelection
@Stability(Stable) public CfnChannel.AudioSelectorSettingsProperty.Builder audioLanguageSelection(CfnChannel.AudioLanguageSelectionProperty audioLanguageSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioLanguageSelection()
- Parameters:
audioLanguageSelection
- The language code of the audio to select.- Returns:
this
-
audioPidSelection
@Stability(Stable) public CfnChannel.AudioSelectorSettingsProperty.Builder audioPidSelection(IResolvable audioPidSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioPidSelection()
- Parameters:
audioPidSelection
- The PID of the audio to select.- Returns:
this
-
audioPidSelection
@Stability(Stable) public CfnChannel.AudioSelectorSettingsProperty.Builder audioPidSelection(CfnChannel.AudioPidSelectionProperty audioPidSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioPidSelection()
- Parameters:
audioPidSelection
- The PID of the audio to select.- Returns:
this
-
audioTrackSelection
@Stability(Stable) public CfnChannel.AudioSelectorSettingsProperty.Builder audioTrackSelection(IResolvable audioTrackSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioTrackSelection()
- Parameters:
audioTrackSelection
- Information about the audio track to extract.- Returns:
this
-
audioTrackSelection
@Stability(Stable) public CfnChannel.AudioSelectorSettingsProperty.Builder audioTrackSelection(CfnChannel.AudioTrackSelectionProperty audioTrackSelection) Sets the value ofCfnChannel.AudioSelectorSettingsProperty.getAudioTrackSelection()
- Parameters:
audioTrackSelection
- Information about the audio track to extract.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.AudioSelectorSettingsProperty>
- Returns:
- a new instance of
CfnChannel.AudioSelectorSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-