Class CfnChannel.AudioDescriptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.AudioDescriptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.AudioDescriptionProperty>
- Enclosing interface:
CfnChannel.AudioDescriptionProperty
@Stability(Stable)
public static final class CfnChannel.AudioDescriptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.AudioDescriptionProperty>
A builder for
CfnChannel.AudioDescriptionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaudioDashRoles
(List<String> audioDashRoles) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioDashRoles()
audioNormalizationSettings
(IResolvable audioNormalizationSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioNormalizationSettings()
audioNormalizationSettings
(CfnChannel.AudioNormalizationSettingsProperty audioNormalizationSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioNormalizationSettings()
audioSelectorName
(String audioSelectorName) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioSelectorName()
Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioType()
audioTypeControl
(String audioTypeControl) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioTypeControl()
audioWatermarkingSettings
(IResolvable audioWatermarkingSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioWatermarkingSettings()
audioWatermarkingSettings
(CfnChannel.AudioWatermarkSettingsProperty audioWatermarkingSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioWatermarkingSettings()
build()
Builds the configured instance.codecSettings
(IResolvable codecSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getCodecSettings()
codecSettings
(CfnChannel.AudioCodecSettingsProperty codecSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getCodecSettings()
dvbDashAccessibility
(String dvbDashAccessibility) Sets the value ofCfnChannel.AudioDescriptionProperty.getDvbDashAccessibility()
languageCode
(String languageCode) Sets the value ofCfnChannel.AudioDescriptionProperty.getLanguageCode()
languageCodeControl
(String languageCodeControl) Sets the value ofCfnChannel.AudioDescriptionProperty.getLanguageCodeControl()
Sets the value ofCfnChannel.AudioDescriptionProperty.getName()
remixSettings
(IResolvable remixSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getRemixSettings()
remixSettings
(CfnChannel.RemixSettingsProperty remixSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getRemixSettings()
streamName
(String streamName) Sets the value ofCfnChannel.AudioDescriptionProperty.getStreamName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioDashRoles
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder audioDashRoles(List<String> audioDashRoles) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioDashRoles()
- Parameters:
audioDashRoles
- the value to be set.- Returns:
this
-
audioNormalizationSettings
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder audioNormalizationSettings(IResolvable audioNormalizationSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioNormalizationSettings()
- Parameters:
audioNormalizationSettings
- The advanced audio normalization settings.- Returns:
this
-
audioNormalizationSettings
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder audioNormalizationSettings(CfnChannel.AudioNormalizationSettingsProperty audioNormalizationSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioNormalizationSettings()
- Parameters:
audioNormalizationSettings
- The advanced audio normalization settings.- Returns:
this
-
audioSelectorName
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder audioSelectorName(String audioSelectorName) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioSelectorName()
- Parameters:
audioSelectorName
- The name of the AudioSelector that is used as the source for this AudioDescription.- Returns:
this
-
audioType
Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioType()
- Parameters:
audioType
- Applies only if audioTypeControl is useConfigured. The values for audioType are defined in ISO-IEC 13818-1.- Returns:
this
-
audioTypeControl
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder audioTypeControl(String audioTypeControl) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioTypeControl()
- Parameters:
audioTypeControl
- Determines how audio type is determined. followInput: If the input contains an ISO 639 audioType, then that value is passed through to the output. If the input contains no ISO 639 audioType, the value in Audio Type is included in the output. useConfigured: The value in Audio Type is included in the output. Note that this field and audioType are both ignored if inputType is broadcasterMixedAd.- Returns:
this
-
audioWatermarkingSettings
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder audioWatermarkingSettings(IResolvable audioWatermarkingSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioWatermarkingSettings()
- Parameters:
audioWatermarkingSettings
- Settings to configure one or more solutions that insert audio watermarks in the audio encode.- Returns:
this
-
audioWatermarkingSettings
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder audioWatermarkingSettings(CfnChannel.AudioWatermarkSettingsProperty audioWatermarkingSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getAudioWatermarkingSettings()
- Parameters:
audioWatermarkingSettings
- Settings to configure one or more solutions that insert audio watermarks in the audio encode.- Returns:
this
-
codecSettings
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder codecSettings(IResolvable codecSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getCodecSettings()
- Parameters:
codecSettings
- The audio codec settings.- Returns:
this
-
codecSettings
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder codecSettings(CfnChannel.AudioCodecSettingsProperty codecSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getCodecSettings()
- Parameters:
codecSettings
- The audio codec settings.- Returns:
this
-
dvbDashAccessibility
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder dvbDashAccessibility(String dvbDashAccessibility) Sets the value ofCfnChannel.AudioDescriptionProperty.getDvbDashAccessibility()
- Parameters:
dvbDashAccessibility
- the value to be set.- Returns:
this
-
languageCode
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder languageCode(String languageCode) Sets the value ofCfnChannel.AudioDescriptionProperty.getLanguageCode()
- Parameters:
languageCode
- Indicates the language of the audio output track. Used only if languageControlMode is useConfigured, or there is no ISO 639 language code specified in the input.- Returns:
this
-
languageCodeControl
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder languageCodeControl(String languageCodeControl) Sets the value ofCfnChannel.AudioDescriptionProperty.getLanguageCodeControl()
- Parameters:
languageCodeControl
- Choosing followInput causes the ISO 639 language code of the output to follow the ISO 639 language code of the input. The languageCode setting is used when useConfigured is set, or when followInput is selected but there is no ISO 639 language code specified by the input.- Returns:
this
-
name
Sets the value ofCfnChannel.AudioDescriptionProperty.getName()
- Parameters:
name
- The name of this AudioDescription. Outputs use this name to uniquely identify this AudioDescription. Description names should be unique within this channel.- Returns:
this
-
remixSettings
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder remixSettings(IResolvable remixSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getRemixSettings()
- Parameters:
remixSettings
- The settings that control how input audio channels are remixed into the output audio channels.- Returns:
this
-
remixSettings
@Stability(Stable) public CfnChannel.AudioDescriptionProperty.Builder remixSettings(CfnChannel.RemixSettingsProperty remixSettings) Sets the value ofCfnChannel.AudioDescriptionProperty.getRemixSettings()
- Parameters:
remixSettings
- The settings that control how input audio channels are remixed into the output audio channels.- Returns:
this
-
streamName
Sets the value ofCfnChannel.AudioDescriptionProperty.getStreamName()
- Parameters:
streamName
- Used for Microsoft Smooth and Apple HLS outputs. Indicates the name displayed by the player (for example, English or Director Commentary).- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.AudioDescriptionProperty>
- Returns:
- a new instance of
CfnChannel.AudioDescriptionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-