Class Ac3SettingsProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.Ac3SettingsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Ac3SettingsProps>
- Enclosing interface:
Ac3SettingsProps
@Stability(Experimental)
public static final class Ac3SettingsProps.Builder
extends Object
implements software.amazon.jsii.Builder<Ac3SettingsProps>
A builder for
Ac3SettingsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattenuationControl(Ac3AttenuationControl attenuationControl) Sets the value ofAc3SettingsProps.getAttenuationControl()Sets the value ofAc3SettingsProps.getBitrate()bitstreamMode(Ac3BitstreamMode bitstreamMode) Sets the value ofAc3SettingsProps.getBitstreamMode()build()Builds the configured instance.codingMode(Ac3CodingMode codingMode) Sets the value ofAc3SettingsProps.getCodingMode()Sets the value ofAc3SettingsProps.getDialNorm()drcProfile(Ac3DrcProfile drcProfile) Sets the value ofAc3SettingsProps.getDrcProfile()lfeFilter(Ac3LfeFilter lfeFilter) Sets the value ofAc3SettingsProps.getLfeFilter()metadataControl(Ac3MetadataControl metadataControl) Sets the value ofAc3SettingsProps.getMetadataControl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attenuationControl
@Stability(Experimental) public Ac3SettingsProps.Builder attenuationControl(Ac3AttenuationControl attenuationControl) Sets the value ofAc3SettingsProps.getAttenuationControl()- Parameters:
attenuationControl- Applies a 3 dB attenuation to the surround channels. Used only for the 3/2 coding mode.- Returns:
this
-
bitrate
Sets the value ofAc3SettingsProps.getBitrate()- Parameters:
bitrate- The average bitrate.- Returns:
this
-
bitstreamMode
@Stability(Experimental) public Ac3SettingsProps.Builder bitstreamMode(Ac3BitstreamMode bitstreamMode) Sets the value ofAc3SettingsProps.getBitstreamMode()- Parameters:
bitstreamMode- Specifies the bitstream mode (bsmod) for the emitted AC-3 stream.- Returns:
this
-
codingMode
Sets the value ofAc3SettingsProps.getCodingMode()- Parameters:
codingMode- The Dolby Digital coding mode.- Returns:
this
-
dialNorm
Sets the value ofAc3SettingsProps.getDialNorm()- Parameters:
dialNorm- The dialogue normalization level (1–31).- Returns:
this
-
drcProfile
Sets the value ofAc3SettingsProps.getDrcProfile()- Parameters:
drcProfile- If set to filmStandard, adds dynamic range compression signaling to the output bitstream.- Returns:
this
-
lfeFilter
Sets the value ofAc3SettingsProps.getLfeFilter()- Parameters:
lfeFilter- When set to enabled, applies a 120Hz lowpass filter to the LFE channel prior to encoding. Valid only in codingMode32Lfe mode.- Returns:
this
-
metadataControl
@Stability(Experimental) public Ac3SettingsProps.Builder metadataControl(Ac3MetadataControl metadataControl) Sets the value ofAc3SettingsProps.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Ac3SettingsProps>- Returns:
- a new instance of
Ac3SettingsProps - Throws:
NullPointerException- if any required attribute was not provided
-