Class CfnChannel.AudioCodecSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.AudioCodecSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.AudioCodecSettingsProperty>
- Enclosing interface:
CfnChannel.AudioCodecSettingsProperty
@Stability(Stable)
public static final class CfnChannel.AudioCodecSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.AudioCodecSettingsProperty>
A builder for
CfnChannel.AudioCodecSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaacSettings(IResolvable aacSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getAacSettings()aacSettings(CfnChannel.AacSettingsProperty aacSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getAacSettings()ac3Settings(IResolvable ac3Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getAc3Settings()ac3Settings(CfnChannel.Ac3SettingsProperty ac3Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getAc3Settings()build()Builds the configured instance.eac3AtmosSettings(IResolvable eac3AtmosSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getEac3AtmosSettings()eac3AtmosSettings(CfnChannel.Eac3AtmosSettingsProperty eac3AtmosSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getEac3AtmosSettings()eac3Settings(IResolvable eac3Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getEac3Settings()eac3Settings(CfnChannel.Eac3SettingsProperty eac3Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getEac3Settings()mp2Settings(IResolvable mp2Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getMp2Settings()mp2Settings(CfnChannel.Mp2SettingsProperty mp2Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getMp2Settings()passThroughSettings(IResolvable passThroughSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getPassThroughSettings()passThroughSettings(CfnChannel.PassThroughSettingsProperty passThroughSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getPassThroughSettings()wavSettings(IResolvable wavSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getWavSettings()wavSettings(CfnChannel.WavSettingsProperty wavSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getWavSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aacSettings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder aacSettings(IResolvable aacSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getAacSettings()- Parameters:
aacSettings- The setup of the AAC audio codec in the output.- Returns:
this
-
aacSettings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder aacSettings(CfnChannel.AacSettingsProperty aacSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getAacSettings()- Parameters:
aacSettings- The setup of the AAC audio codec in the output.- Returns:
this
-
ac3Settings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder ac3Settings(IResolvable ac3Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getAc3Settings()- Parameters:
ac3Settings- The setup of an AC3 audio codec in the output.- Returns:
this
-
ac3Settings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder ac3Settings(CfnChannel.Ac3SettingsProperty ac3Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getAc3Settings()- Parameters:
ac3Settings- The setup of an AC3 audio codec in the output.- Returns:
this
-
eac3AtmosSettings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder eac3AtmosSettings(IResolvable eac3AtmosSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getEac3AtmosSettings()- Parameters:
eac3AtmosSettings- the value to be set.- Returns:
this
-
eac3AtmosSettings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder eac3AtmosSettings(CfnChannel.Eac3AtmosSettingsProperty eac3AtmosSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getEac3AtmosSettings()- Parameters:
eac3AtmosSettings- the value to be set.- Returns:
this
-
eac3Settings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder eac3Settings(IResolvable eac3Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getEac3Settings()- Parameters:
eac3Settings- The setup of an EAC3 audio codec in the output.- Returns:
this
-
eac3Settings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder eac3Settings(CfnChannel.Eac3SettingsProperty eac3Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getEac3Settings()- Parameters:
eac3Settings- The setup of an EAC3 audio codec in the output.- Returns:
this
-
mp2Settings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder mp2Settings(IResolvable mp2Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getMp2Settings()- Parameters:
mp2Settings- The setup of an MP2 audio codec in the output.- Returns:
this
-
mp2Settings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder mp2Settings(CfnChannel.Mp2SettingsProperty mp2Settings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getMp2Settings()- Parameters:
mp2Settings- The setup of an MP2 audio codec in the output.- Returns:
this
-
passThroughSettings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder passThroughSettings(IResolvable passThroughSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getPassThroughSettings()- Parameters:
passThroughSettings- The setup to pass through the Dolby audio codec to the output.- Returns:
this
-
passThroughSettings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder passThroughSettings(CfnChannel.PassThroughSettingsProperty passThroughSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getPassThroughSettings()- Parameters:
passThroughSettings- The setup to pass through the Dolby audio codec to the output.- Returns:
this
-
wavSettings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder wavSettings(IResolvable wavSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getWavSettings()- Parameters:
wavSettings- Settings for audio encoded with the WAV codec.- Returns:
this
-
wavSettings
@Stability(Stable) public CfnChannel.AudioCodecSettingsProperty.Builder wavSettings(CfnChannel.WavSettingsProperty wavSettings) Sets the value ofCfnChannel.AudioCodecSettingsProperty.getWavSettings()- Parameters:
wavSettings- Settings for audio encoded with the WAV codec.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.AudioCodecSettingsProperty>- Returns:
- a new instance of
CfnChannel.AudioCodecSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-