Class CfnChannelPropsMixin.AudioLanguageSelectionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.AudioLanguageSelectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.AudioLanguageSelectionProperty>
- Enclosing interface:
CfnChannelPropsMixin.AudioLanguageSelectionProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.AudioLanguageSelectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.AudioLanguageSelectionProperty>
A builder for
CfnChannelPropsMixin.AudioLanguageSelectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.languageCode(String languageCode) Sets the value ofCfnChannelPropsMixin.AudioLanguageSelectionProperty.getLanguageCode()languageSelectionPolicy(String languageSelectionPolicy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
languageCode
@Stability(Stable) public CfnChannelPropsMixin.AudioLanguageSelectionProperty.Builder languageCode(String languageCode) Sets the value ofCfnChannelPropsMixin.AudioLanguageSelectionProperty.getLanguageCode()- Parameters:
languageCode- Selects a specific three-letter language code from within an audio source.- Returns:
this
-
languageSelectionPolicy
@Stability(Stable) public CfnChannelPropsMixin.AudioLanguageSelectionProperty.Builder languageSelectionPolicy(String languageSelectionPolicy) - Parameters:
languageSelectionPolicy- When set to "strict," the transport stream demux strictly identifies audio streams by their language descriptor. If a PMT update occurs such that an audio stream matching the initially selected language is no longer present, then mute is encoded until the language returns. If set to "loose," then on a PMT update the demux chooses another audio stream in the program with the same stream type if it can't find one with the same language.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.AudioLanguageSelectionProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.AudioLanguageSelectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-