Class CfnChannel.Ac3SettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.Ac3SettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.Ac3SettingsProperty>
- Enclosing interface:
CfnChannel.Ac3SettingsProperty
@Stability(Stable)
public static final class CfnChannel.Ac3SettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.Ac3SettingsProperty>
A builder for
CfnChannel.Ac3SettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattenuationControl
(String attenuationControl) Sets the value ofCfnChannel.Ac3SettingsProperty.getAttenuationControl()
Sets the value ofCfnChannel.Ac3SettingsProperty.getBitrate()
bitstreamMode
(String bitstreamMode) Sets the value ofCfnChannel.Ac3SettingsProperty.getBitstreamMode()
build()
Builds the configured instance.codingMode
(String codingMode) Sets the value ofCfnChannel.Ac3SettingsProperty.getCodingMode()
Sets the value ofCfnChannel.Ac3SettingsProperty.getDialnorm()
drcProfile
(String drcProfile) Sets the value ofCfnChannel.Ac3SettingsProperty.getDrcProfile()
Sets the value ofCfnChannel.Ac3SettingsProperty.getLfeFilter()
metadataControl
(String metadataControl) Sets the value ofCfnChannel.Ac3SettingsProperty.getMetadataControl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attenuationControl
@Stability(Stable) public CfnChannel.Ac3SettingsProperty.Builder attenuationControl(String attenuationControl) Sets the value ofCfnChannel.Ac3SettingsProperty.getAttenuationControl()
- Parameters:
attenuationControl
- the value to be set.- Returns:
this
-
bitrate
Sets the value ofCfnChannel.Ac3SettingsProperty.getBitrate()
- Parameters:
bitrate
- The average bitrate in bits/second. Valid bitrates depend on the coding mode.- Returns:
this
-
bitstreamMode
@Stability(Stable) public CfnChannel.Ac3SettingsProperty.Builder bitstreamMode(String bitstreamMode) Sets the value ofCfnChannel.Ac3SettingsProperty.getBitstreamMode()
- Parameters:
bitstreamMode
- Specifies the bitstream mode (bsmod) for the emitted AC-3 stream. For more information about these values, see ATSC A/52-2012.- Returns:
this
-
codingMode
Sets the value ofCfnChannel.Ac3SettingsProperty.getCodingMode()
- Parameters:
codingMode
- The Dolby Digital coding mode. This determines the number of channels.- Returns:
this
-
dialnorm
Sets the value ofCfnChannel.Ac3SettingsProperty.getDialnorm()
- Parameters:
dialnorm
- Sets the dialnorm for the output. If excluded and the input audio is Dolby Digital, dialnorm is passed through.- Returns:
this
-
drcProfile
Sets the value ofCfnChannel.Ac3SettingsProperty.getDrcProfile()
- Parameters:
drcProfile
- If set to filmStandard, adds dynamic range compression signaling to the output bitstream as defined in the Dolby Digital specification.- Returns:
this
-
lfeFilter
Sets the value ofCfnChannel.Ac3SettingsProperty.getLfeFilter()
- Parameters:
lfeFilter
- When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. This is valid only in codingMode32Lfe mode.- Returns:
this
-
metadataControl
@Stability(Stable) public CfnChannel.Ac3SettingsProperty.Builder metadataControl(String metadataControl) Sets the value ofCfnChannel.Ac3SettingsProperty.getMetadataControl()
- Parameters:
metadataControl
- When set to followInput, encoder metadata is sourced from the DD, DD+, or DolbyE decoder that supplies this audio data. If the audio is supplied from one of these streams, the static metadata settings are used.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.Ac3SettingsProperty>
- Returns:
- a new instance of
CfnChannel.Ac3SettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-