Class CfnChannel.WavSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.WavSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.WavSettingsProperty>
- Enclosing interface:
CfnChannel.WavSettingsProperty
@Stability(Stable)
public static final class CfnChannel.WavSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.WavSettingsProperty>
A builder for
CfnChannel.WavSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnChannel.WavSettingsProperty.getBitDepth()
build()
Builds the configured instance.codingMode
(String codingMode) Sets the value ofCfnChannel.WavSettingsProperty.getCodingMode()
sampleRate
(Number sampleRate) Sets the value ofCfnChannel.WavSettingsProperty.getSampleRate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bitDepth
Sets the value ofCfnChannel.WavSettingsProperty.getBitDepth()
- Parameters:
bitDepth
- Bits per sample.- Returns:
this
-
codingMode
Sets the value ofCfnChannel.WavSettingsProperty.getCodingMode()
- Parameters:
codingMode
- The audio coding mode for the WAV audio. The mode determines the number of channels in the audio.- Returns:
this
-
sampleRate
Sets the value ofCfnChannel.WavSettingsProperty.getSampleRate()
- Parameters:
sampleRate
- Sample rate in Hz.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.WavSettingsProperty>
- Returns:
- a new instance of
CfnChannel.WavSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-