public static final class CfnChannel.AudioLanguageSelectionProperty.Builder
extends java.lang.Object
CfnChannel.AudioLanguageSelectionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnChannel.AudioLanguageSelectionProperty |
build()
Builds the configured instance.
|
CfnChannel.AudioLanguageSelectionProperty.Builder |
languageCode(java.lang.String languageCode)
Sets the value of
CfnChannel.AudioLanguageSelectionProperty.getLanguageCode() |
CfnChannel.AudioLanguageSelectionProperty.Builder |
languageSelectionPolicy(java.lang.String languageSelectionPolicy)
Sets the value of
CfnChannel.AudioLanguageSelectionProperty.getLanguageSelectionPolicy() |
public CfnChannel.AudioLanguageSelectionProperty.Builder languageCode(java.lang.String languageCode)
CfnChannel.AudioLanguageSelectionProperty.getLanguageCode()
languageCode
- Selects a specific three-letter language code from within an audio source.this
public CfnChannel.AudioLanguageSelectionProperty.Builder languageSelectionPolicy(java.lang.String languageSelectionPolicy)
CfnChannel.AudioLanguageSelectionProperty.getLanguageSelectionPolicy()
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.this
public CfnChannel.AudioLanguageSelectionProperty build()
CfnChannel.AudioLanguageSelectionProperty
java.lang.NullPointerException
- if any required attribute was not provided