Class CfnChannel.InputChannelLevelProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.InputChannelLevelProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.InputChannelLevelProperty>
- Enclosing interface:
- CfnChannel.InputChannelLevelProperty
@Stability(Stable)
public static final class CfnChannel.InputChannelLevelProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.InputChannelLevelProperty>
A builder for
CfnChannel.InputChannelLevelProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannel.InputChannelLevelProperty.getGain()inputChannel(Number inputChannel) Sets the value ofCfnChannel.InputChannelLevelProperty.getInputChannel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gain
Sets the value ofCfnChannel.InputChannelLevelProperty.getGain()- Parameters:
gain- The remixing value. Units are in dB, and acceptable values are within the range from -60 (mute) to 6 dB.- Returns:
this
-
inputChannel
@Stability(Stable) public CfnChannel.InputChannelLevelProperty.Builder inputChannel(Number inputChannel) Sets the value ofCfnChannel.InputChannelLevelProperty.getInputChannel()- Parameters:
inputChannel- The index of the input channel that is used as a source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.InputChannelLevelProperty>- Returns:
- a new instance of
CfnChannel.InputChannelLevelProperty - Throws:
NullPointerException- if any required attribute was not provided
-