Class AudioPidConfig.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.AudioPidConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AudioPidConfig>
- Enclosing interface:
AudioPidConfig
@Stability(Experimental)
public static final class AudioPidConfig.Builder
extends Object
implements software.amazon.jsii.Builder<AudioPidConfig>
A builder for
AudioPidConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dolbyEDecode(DolbyEProgramSelection dolbyEDecode) Sets the value ofAudioPidConfig.getDolbyEDecode()Sets the value ofAudioPidConfig.getPid()premixSettings(AudioPreMixerSettings premixSettings) Sets the value ofAudioPidConfig.getPremixSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pid
Sets the value ofAudioPidConfig.getPid()- Parameters:
pid- The packet identifier (PID) value from within the source. This parameter is required.- Returns:
this
-
dolbyEDecode
@Stability(Experimental) public AudioPidConfig.Builder dolbyEDecode(DolbyEProgramSelection dolbyEDecode) Sets the value ofAudioPidConfig.getDolbyEDecode()- Parameters:
dolbyEDecode- Which Dolby E program to decode from this PID.- Returns:
this
-
premixSettings
@Stability(Experimental) public AudioPidConfig.Builder premixSettings(AudioPreMixerSettings premixSettings) Sets the value ofAudioPidConfig.getPremixSettings()- Parameters:
premixSettings- Pre-mixer settings for this PID (gain, channel remix, loudness normalization).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AudioPidConfig>- Returns:
- a new instance of
AudioPidConfig - Throws:
NullPointerException- if any required attribute was not provided
-