Class Eac3SettingsProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.Eac3SettingsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Eac3SettingsProps>
- Enclosing interface:
Eac3SettingsProps
@Stability(Experimental)
public static final class Eac3SettingsProps.Builder
extends Object
implements software.amazon.jsii.Builder<Eac3SettingsProps>
A builder for
Eac3SettingsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattenuationControl(Eac3AttenuationControl attenuationControl) Sets the value ofEac3SettingsProps.getAttenuationControl()Sets the value ofEac3SettingsProps.getBitrate()bitstreamMode(Eac3BitstreamMode bitstreamMode) Sets the value ofEac3SettingsProps.getBitstreamMode()build()Builds the configured instance.codingMode(Eac3CodingMode codingMode) Sets the value ofEac3SettingsProps.getCodingMode()dcFilter(Eac3DcFilter dcFilter) Sets the value ofEac3SettingsProps.getDcFilter()Sets the value ofEac3SettingsProps.getDialNorm()drcLine(Eac3DrcLine drcLine) Sets the value ofEac3SettingsProps.getDrcLine()Sets the value ofEac3SettingsProps.getDrcRf()lfeControl(Eac3LfeControl lfeControl) Sets the value ofEac3SettingsProps.getLfeControl()lfeFilter(Eac3LfeFilter lfeFilter) Sets the value ofEac3SettingsProps.getLfeFilter()loRoCenterMixLevel(Number loRoCenterMixLevel) Sets the value ofEac3SettingsProps.getLoRoCenterMixLevel()loRoSurroundMixLevel(Number loRoSurroundMixLevel) Sets the value ofEac3SettingsProps.getLoRoSurroundMixLevel()ltRtCenterMixLevel(Number ltRtCenterMixLevel) Sets the value ofEac3SettingsProps.getLtRtCenterMixLevel()ltRtSurroundMixLevel(Number ltRtSurroundMixLevel) Sets the value ofEac3SettingsProps.getLtRtSurroundMixLevel()metadataControl(Eac3MetadataControl metadataControl) Sets the value ofEac3SettingsProps.getMetadataControl()passthroughControl(Eac3PassthroughControl passthroughControl) Sets the value ofEac3SettingsProps.getPassthroughControl()phaseControl(Eac3PhaseControl phaseControl) Sets the value ofEac3SettingsProps.getPhaseControl()stereoDownmix(Eac3StereoDownmix stereoDownmix) Sets the value ofEac3SettingsProps.getStereoDownmix()surroundExMode(Eac3SurroundExMode surroundExMode) Sets the value ofEac3SettingsProps.getSurroundExMode()surroundMode(Eac3SurroundMode surroundMode) Sets the value ofEac3SettingsProps.getSurroundMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attenuationControl
@Stability(Experimental) public Eac3SettingsProps.Builder attenuationControl(Eac3AttenuationControl attenuationControl) Sets the value ofEac3SettingsProps.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 ofEac3SettingsProps.getBitrate()- Parameters:
bitrate- The average bitrate.- Returns:
this
-
bitstreamMode
@Stability(Experimental) public Eac3SettingsProps.Builder bitstreamMode(Eac3BitstreamMode bitstreamMode) Sets the value ofEac3SettingsProps.getBitstreamMode()- Parameters:
bitstreamMode- Specifies the bitstream mode (bsmod) for the emitted E-AC-3 stream.- Returns:
this
-
codingMode
Sets the value ofEac3SettingsProps.getCodingMode()- Parameters:
codingMode- The Dolby Digital Plus coding mode.- Returns:
this
-
dcFilter
Sets the value ofEac3SettingsProps.getDcFilter()- Parameters:
dcFilter- When set to enabled, activates a DC highpass filter for all input channels.- Returns:
this
-
dialNorm
Sets the value ofEac3SettingsProps.getDialNorm()- Parameters:
dialNorm- The dialogue normalization level (1–31).- Returns:
this
-
drcLine
Sets the value ofEac3SettingsProps.getDrcLine()- Parameters:
drcLine- Sets the Dolby dynamic range compression profile.- Returns:
this
-
drcRf
Sets the value ofEac3SettingsProps.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 ofEac3SettingsProps.getLfeControl()- Parameters:
lfeControl- When encoding 3/2 audio, setting to lfe enables the LFE channel.- Returns:
this
-
lfeFilter
Sets the value ofEac3SettingsProps.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(Experimental) public Eac3SettingsProps.Builder loRoCenterMixLevel(Number loRoCenterMixLevel) Sets the value ofEac3SettingsProps.getLoRoCenterMixLevel()- Parameters:
loRoCenterMixLevel- The Left only/Right only center mix level. Used only for the 3/2 coding mode.- Returns:
this
-
loRoSurroundMixLevel
@Stability(Experimental) public Eac3SettingsProps.Builder loRoSurroundMixLevel(Number loRoSurroundMixLevel) Sets the value ofEac3SettingsProps.getLoRoSurroundMixLevel()- Parameters:
loRoSurroundMixLevel- The Left only/Right only surround mix level. Used only for a 3/2 coding mode.- Returns:
this
-
ltRtCenterMixLevel
@Stability(Experimental) public Eac3SettingsProps.Builder ltRtCenterMixLevel(Number ltRtCenterMixLevel) Sets the value ofEac3SettingsProps.getLtRtCenterMixLevel()- Parameters:
ltRtCenterMixLevel- The Left total/Right total center mix level. Used only for a 3/2 coding mode.- Returns:
this
-
ltRtSurroundMixLevel
@Stability(Experimental) public Eac3SettingsProps.Builder ltRtSurroundMixLevel(Number ltRtSurroundMixLevel) Sets the value ofEac3SettingsProps.getLtRtSurroundMixLevel()- Parameters:
ltRtSurroundMixLevel- The Left total/Right total surround mix level. Used only for the 3/2 coding mode.- Returns:
this
-
metadataControl
@Stability(Experimental) public Eac3SettingsProps.Builder metadataControl(Eac3MetadataControl metadataControl) Sets the value ofEac3SettingsProps.getMetadataControl()- Parameters:
metadataControl- When set to followInput, encoder metadata is sourced from the DD, DD+, or DolbyE decoder that supplies this audio data.- Returns:
this
-
passthroughControl
@Stability(Experimental) public Eac3SettingsProps.Builder passthroughControl(Eac3PassthroughControl passthroughControl) Sets the value ofEac3SettingsProps.getPassthroughControl()- Parameters:
passthroughControl- When set to whenPossible, input DD+ audio will be passed through if it is present on the input.- Returns:
this
-
phaseControl
@Stability(Experimental) public Eac3SettingsProps.Builder phaseControl(Eac3PhaseControl phaseControl) Sets the value ofEac3SettingsProps.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(Experimental) public Eac3SettingsProps.Builder stereoDownmix(Eac3StereoDownmix stereoDownmix) Sets the value ofEac3SettingsProps.getStereoDownmix()- Parameters:
stereoDownmix- A stereo downmix preference. Used only for the 3/2 coding mode.- Returns:
this
-
surroundExMode
@Stability(Experimental) public Eac3SettingsProps.Builder surroundExMode(Eac3SurroundExMode surroundExMode) Sets the value ofEac3SettingsProps.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
@Stability(Experimental) public Eac3SettingsProps.Builder surroundMode(Eac3SurroundMode surroundMode) Sets the value ofEac3SettingsProps.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<Eac3SettingsProps>- Returns:
- a new instance of
Eac3SettingsProps - Throws:
NullPointerException- if any required attribute was not provided
-