Class AudioChannelMapping.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.AudioChannelMapping.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AudioChannelMapping>
- Enclosing interface:
AudioChannelMapping
@Stability(Experimental)
public static final class AudioChannelMapping.Builder
extends Object
implements software.amazon.jsii.Builder<AudioChannelMapping>
A builder for
AudioChannelMapping-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inputChannelLevels(List<? extends InputChannelLevel> inputChannelLevels) Sets the value ofAudioChannelMapping.getInputChannelLevels()outputChannel(Number outputChannel) Sets the value ofAudioChannelMapping.getOutputChannel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputChannelLevels
@Stability(Experimental) public AudioChannelMapping.Builder inputChannelLevels(List<? extends InputChannelLevel> inputChannelLevels) Sets the value ofAudioChannelMapping.getInputChannelLevels()- Parameters:
inputChannelLevels- The input channels and their gain levels to mix into this output channel. This parameter is required.- Returns:
this
-
outputChannel
Sets the value ofAudioChannelMapping.getOutputChannel()- Parameters:
outputChannel- The index of the output channel being produced. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AudioChannelMapping>- Returns:
- a new instance of
AudioChannelMapping - Throws:
NullPointerException- if any required attribute was not provided
-