Interface Mp3Settings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Mp3Settings.Builder,
,Mp3Settings> SdkBuilder<Mp3Settings.Builder,
,Mp3Settings> SdkPojo
- Enclosing class:
Mp3Settings
public static interface Mp3Settings.Builder
extends SdkPojo, CopyableBuilder<Mp3Settings.Builder,Mp3Settings>
-
Method Summary
Modifier and TypeMethodDescriptionSpecify the average bitrate in bits per second.Specify the number of channels in this output audio track.rateControlMode
(String rateControlMode) Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).rateControlMode
(Mp3RateControlMode rateControlMode) Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).sampleRate
(Integer sampleRate) Sample rate in Hz.vbrQuality
(Integer vbrQuality) Required when you set Bitrate control mode to VBR.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
bitrate
Specify the average bitrate in bits per second.- Parameters:
bitrate
- Specify the average bitrate in bits per second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.- Parameters:
channels
- Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateControlMode
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).- Parameters:
rateControlMode
- Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rateControlMode
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).- Parameters:
rateControlMode
- Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sampleRate
Sample rate in Hz.- Parameters:
sampleRate
- Sample rate in Hz.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vbrQuality
Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).- Parameters:
vbrQuality
- Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-