Class CfnChannel.Eac3SettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.Eac3SettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.Eac3SettingsProperty>
- Enclosing interface:
CfnChannel.Eac3SettingsProperty
@Stability(Stable)
public static final class CfnChannel.Eac3SettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.Eac3SettingsProperty>
A builder for
CfnChannel.Eac3SettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattenuationControl(String attenuationControl) Sets the value ofCfnChannel.Eac3SettingsProperty.getAttenuationControl()Sets the value ofCfnChannel.Eac3SettingsProperty.getBitrate()bitstreamMode(String bitstreamMode) Sets the value ofCfnChannel.Eac3SettingsProperty.getBitstreamMode()build()Builds the configured instance.codingMode(String codingMode) Sets the value ofCfnChannel.Eac3SettingsProperty.getCodingMode()Sets the value ofCfnChannel.Eac3SettingsProperty.getDcFilter()Sets the value ofCfnChannel.Eac3SettingsProperty.getDialnorm()Sets the value ofCfnChannel.Eac3SettingsProperty.getDrcLine()Sets the value ofCfnChannel.Eac3SettingsProperty.getDrcRf()lfeControl(String lfeControl) Sets the value ofCfnChannel.Eac3SettingsProperty.getLfeControl()Sets the value ofCfnChannel.Eac3SettingsProperty.getLfeFilter()loRoCenterMixLevel(Number loRoCenterMixLevel) Sets the value ofCfnChannel.Eac3SettingsProperty.getLoRoCenterMixLevel()loRoSurroundMixLevel(Number loRoSurroundMixLevel) Sets the value ofCfnChannel.Eac3SettingsProperty.getLoRoSurroundMixLevel()ltRtCenterMixLevel(Number ltRtCenterMixLevel) Sets the value ofCfnChannel.Eac3SettingsProperty.getLtRtCenterMixLevel()ltRtSurroundMixLevel(Number ltRtSurroundMixLevel) Sets the value ofCfnChannel.Eac3SettingsProperty.getLtRtSurroundMixLevel()metadataControl(String metadataControl) Sets the value ofCfnChannel.Eac3SettingsProperty.getMetadataControl()passthroughControl(String passthroughControl) Sets the value ofCfnChannel.Eac3SettingsProperty.getPassthroughControl()phaseControl(String phaseControl) Sets the value ofCfnChannel.Eac3SettingsProperty.getPhaseControl()stereoDownmix(String stereoDownmix) Sets the value ofCfnChannel.Eac3SettingsProperty.getStereoDownmix()surroundExMode(String surroundExMode) Sets the value ofCfnChannel.Eac3SettingsProperty.getSurroundExMode()surroundMode(String surroundMode) Sets the value ofCfnChannel.Eac3SettingsProperty.getSurroundMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attenuationControl
@Stability(Stable) public CfnChannel.Eac3SettingsProperty.Builder attenuationControl(String attenuationControl) Sets the value ofCfnChannel.Eac3SettingsProperty.getAttenuationControl()- Parameters:
attenuationControl- When set to attenuate3Db, applies a 3 dB attenuation to the surround channels. Used only for the 3/2 coding mode.- Returns:
this
-
bitrate
Sets the value ofCfnChannel.Eac3SettingsProperty.getBitrate()- Parameters:
bitrate- The average bitrate in bits/second. Valid bitrates depend on the coding mode.- Returns:
this
-
bitstreamMode
@Stability(Stable) public CfnChannel.Eac3SettingsProperty.Builder bitstreamMode(String bitstreamMode) Sets the value ofCfnChannel.Eac3SettingsProperty.getBitstreamMode()- Parameters:
bitstreamMode- Specifies the bitstream mode (bsmod) for the emitted E-AC-3 stream. For more information, see ATSC A/52-2012 (Annex E).- Returns:
this
-
codingMode
Sets the value ofCfnChannel.Eac3SettingsProperty.getCodingMode()- Parameters:
codingMode- The Dolby Digital Plus coding mode. This mode determines the number of channels.- Returns:
this
-
dcFilter
Sets the value ofCfnChannel.Eac3SettingsProperty.getDcFilter()- Parameters:
dcFilter- When set to enabled, activates a DC highpass filter for all input channels.- Returns:
this
-
dialnorm
Sets the value ofCfnChannel.Eac3SettingsProperty.getDialnorm()- Parameters:
dialnorm- Sets the dialnorm for the output. If blank and the input audio is Dolby Digital Plus, dialnorm will be passed through.- Returns:
this
-
drcLine
Sets the value ofCfnChannel.Eac3SettingsProperty.getDrcLine()- Parameters:
drcLine- Sets the Dolby dynamic range compression profile.- Returns:
this
-
drcRf
Sets the value ofCfnChannel.Eac3SettingsProperty.getDrcRf()- Parameters:
drcRf- Sets the profile for heavy Dolby dynamic range compression, ensuring that the instantaneous signal peaks do not exceed specified levels.- Returns:
this
-
lfeControl
Sets the value ofCfnChannel.Eac3SettingsProperty.getLfeControl()- Parameters:
lfeControl- When encoding 3/2 audio, setting to lfe enables the LFE channel.- Returns:
this
-
lfeFilter
Sets the value ofCfnChannel.Eac3SettingsProperty.getLfeFilter()- Parameters:
lfeFilter- When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Valid only with a codingMode32 coding mode.- Returns:
this
-
loRoCenterMixLevel
@Stability(Stable) public CfnChannel.Eac3SettingsProperty.Builder loRoCenterMixLevel(Number loRoCenterMixLevel) Sets the value ofCfnChannel.Eac3SettingsProperty.getLoRoCenterMixLevel()- Parameters:
loRoCenterMixLevel- The Left only/Right only center mix level. Used only for the 3/2 coding mode.- Returns:
this
-
loRoSurroundMixLevel
@Stability(Stable) public CfnChannel.Eac3SettingsProperty.Builder loRoSurroundMixLevel(Number loRoSurroundMixLevel) Sets the value ofCfnChannel.Eac3SettingsProperty.getLoRoSurroundMixLevel()- Parameters:
loRoSurroundMixLevel- The Left only/Right only surround mix level. Used only for a 3/2 coding mode.- Returns:
this
-
ltRtCenterMixLevel
@Stability(Stable) public CfnChannel.Eac3SettingsProperty.Builder ltRtCenterMixLevel(Number ltRtCenterMixLevel) Sets the value ofCfnChannel.Eac3SettingsProperty.getLtRtCenterMixLevel()- Parameters:
ltRtCenterMixLevel- The Left total/Right total center mix level. Used only for a 3/2 coding mode.- Returns:
this
-
ltRtSurroundMixLevel
@Stability(Stable) public CfnChannel.Eac3SettingsProperty.Builder ltRtSurroundMixLevel(Number ltRtSurroundMixLevel) Sets the value ofCfnChannel.Eac3SettingsProperty.getLtRtSurroundMixLevel()- Parameters:
ltRtSurroundMixLevel- The Left total/Right total surround mix level. Used only for the 3/2 coding mode.- Returns:
this
-
metadataControl
@Stability(Stable) public CfnChannel.Eac3SettingsProperty.Builder metadataControl(String metadataControl) Sets the value ofCfnChannel.Eac3SettingsProperty.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 not supplied from one of these streams, then the static metadata settings are used.- Returns:
this
-
passthroughControl
@Stability(Stable) public CfnChannel.Eac3SettingsProperty.Builder passthroughControl(String passthroughControl) Sets the value ofCfnChannel.Eac3SettingsProperty.getPassthroughControl()- Parameters:
passthroughControl- When set to whenPossible, input DD+ audio will be passed through if it is present on the input. This detection is dynamic over the life of the transcode. Inputs that alternate between DD+ and non-DD+ content will have a consistent DD+ output as the system alternates between passthrough and encoding.- Returns:
this
-
phaseControl
Sets the value ofCfnChannel.Eac3SettingsProperty.getPhaseControl()- Parameters:
phaseControl- When set to shift90Degrees, applies a 90-degree phase shift to the surround channels. Used only for a 3/2 coding mode.- Returns:
this
-
stereoDownmix
@Stability(Stable) public CfnChannel.Eac3SettingsProperty.Builder stereoDownmix(String stereoDownmix) Sets the value ofCfnChannel.Eac3SettingsProperty.getStereoDownmix()- Parameters:
stereoDownmix- A stereo downmix preference. Used only for the 3/2 coding mode.- Returns:
this
-
surroundExMode
@Stability(Stable) public CfnChannel.Eac3SettingsProperty.Builder surroundExMode(String surroundExMode) Sets the value ofCfnChannel.Eac3SettingsProperty.getSurroundExMode()- Parameters:
surroundExMode- When encoding 3/2 audio, sets whether an extra center back surround channel is matrix encoded into the left and right surround channels.- Returns:
this
-
surroundMode
Sets the value ofCfnChannel.Eac3SettingsProperty.getSurroundMode()- Parameters:
surroundMode- When encoding 2/0 audio, sets whether Dolby Surround is matrix-encoded into the two channels.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.Eac3SettingsProperty>- Returns:
- a new instance of
CfnChannel.Eac3SettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-