Class CfnChannelPropsMixin.Ac3SettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.Ac3SettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.Ac3SettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.Ac3SettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.Ac3SettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.Ac3SettingsProperty>
A builder for
CfnChannelPropsMixin.Ac3SettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattenuationControl(String attenuationControl) Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getAttenuationControl()Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getBitrate()bitstreamMode(String bitstreamMode) Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getBitstreamMode()build()Builds the configured instance.codingMode(String codingMode) Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getCodingMode()Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getDialnorm()drcProfile(String drcProfile) Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getDrcProfile()Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getLfeFilter()metadataControl(String metadataControl) Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getMetadataControl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attenuationControl
@Stability(Stable) public CfnChannelPropsMixin.Ac3SettingsProperty.Builder attenuationControl(String attenuationControl) Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getAttenuationControl()- Parameters:
attenuationControl- the value to be set.- Returns:
this
-
bitrate
Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getBitrate()- Parameters:
bitrate- The average bitrate in bits/second. Valid bitrates depend on the coding mode.- Returns:
this
-
bitstreamMode
@Stability(Stable) public CfnChannelPropsMixin.Ac3SettingsProperty.Builder bitstreamMode(String bitstreamMode) Sets the value ofCfnChannelPropsMixin.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
@Stability(Stable) public CfnChannelPropsMixin.Ac3SettingsProperty.Builder codingMode(String codingMode) Sets the value ofCfnChannelPropsMixin.Ac3SettingsProperty.getCodingMode()- Parameters:
codingMode- The Dolby Digital coding mode. This determines the number of channels.- Returns:
this
-
dialnorm
@Stability(Stable) public CfnChannelPropsMixin.Ac3SettingsProperty.Builder dialnorm(Number dialnorm) Sets the value ofCfnChannelPropsMixin.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
@Stability(Stable) public CfnChannelPropsMixin.Ac3SettingsProperty.Builder drcProfile(String drcProfile) Sets the value ofCfnChannelPropsMixin.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
@Stability(Stable) public CfnChannelPropsMixin.Ac3SettingsProperty.Builder lfeFilter(String lfeFilter) Sets the value ofCfnChannelPropsMixin.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 CfnChannelPropsMixin.Ac3SettingsProperty.Builder metadataControl(String metadataControl) Sets the value ofCfnChannelPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.Ac3SettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.Ac3SettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-