Class CfnChannel.AudioChannelMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.AudioChannelMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.AudioChannelMappingProperty>
- Enclosing interface:
CfnChannel.AudioChannelMappingProperty
@Stability(Stable)
public static final class CfnChannel.AudioChannelMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.AudioChannelMappingProperty>
A builder for
CfnChannel.AudioChannelMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inputChannelLevels(List<? extends Object> inputChannelLevels) Sets the value ofCfnChannel.AudioChannelMappingProperty.getInputChannelLevels()inputChannelLevels(IResolvable inputChannelLevels) Sets the value ofCfnChannel.AudioChannelMappingProperty.getInputChannelLevels()outputChannel(Number outputChannel) Sets the value ofCfnChannel.AudioChannelMappingProperty.getOutputChannel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputChannelLevels
@Stability(Stable) public CfnChannel.AudioChannelMappingProperty.Builder inputChannelLevels(IResolvable inputChannelLevels) Sets the value ofCfnChannel.AudioChannelMappingProperty.getInputChannelLevels()- Parameters:
inputChannelLevels- The indices and gain values for each input channel that should be remixed into this output channel.- Returns:
this
-
inputChannelLevels
@Stability(Stable) public CfnChannel.AudioChannelMappingProperty.Builder inputChannelLevels(List<? extends Object> inputChannelLevels) Sets the value ofCfnChannel.AudioChannelMappingProperty.getInputChannelLevels()- Parameters:
inputChannelLevels- The indices and gain values for each input channel that should be remixed into this output channel.- Returns:
this
-
outputChannel
@Stability(Stable) public CfnChannel.AudioChannelMappingProperty.Builder outputChannel(Number outputChannel) Sets the value ofCfnChannel.AudioChannelMappingProperty.getOutputChannel()- Parameters:
outputChannel- The index of the output channel that is being produced.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.AudioChannelMappingProperty>- Returns:
- a new instance of
CfnChannel.AudioChannelMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-