Class WavSettingsProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.WavSettingsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WavSettingsProps>
- Enclosing interface:
WavSettingsProps
@Stability(Experimental)
public static final class WavSettingsProps.Builder
extends Object
implements software.amazon.jsii.Builder<WavSettingsProps>
A builder for
WavSettingsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbitDepth(AudioBitDepth bitDepth) Sets the value ofWavSettingsProps.getBitDepth()build()Builds the configured instance.codingMode(WavCodingMode codingMode) Sets the value ofWavSettingsProps.getCodingMode()sampleRate(AudioSampleRate sampleRate) Sets the value ofWavSettingsProps.getSampleRate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bitDepth
Sets the value ofWavSettingsProps.getBitDepth()- Parameters:
bitDepth- The bit depth of the WAV output.- Returns:
this
-
codingMode
Sets the value ofWavSettingsProps.getCodingMode()- Parameters:
codingMode- The audio coding mode for the WAV audio.- Returns:
this
-
sampleRate
Sets the value ofWavSettingsProps.getSampleRate()- Parameters:
sampleRate- The sample rate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WavSettingsProps>- Returns:
- a new instance of
WavSettingsProps - Throws:
NullPointerException- if any required attribute was not provided
-