Interface OpusSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OpusSettings.Builder,
,OpusSettings> SdkBuilder<OpusSettings.Builder,
,OpusSettings> SdkPojo
- Enclosing class:
OpusSettings
public static interface OpusSettings.Builder
extends SdkPojo, CopyableBuilder<OpusSettings.Builder,OpusSettings>
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Specify the number of channels in this output audio track.sampleRate
(Integer sampleRate) Optional.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
Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth.- Parameters:
bitrate
- Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth.- 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 on 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 on 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.
-
sampleRate
Optional. Sample rate in Hz. Valid values are 16000, 24000, and 48000. The default value is 48000.- Parameters:
sampleRate
- Optional. Sample rate in Hz. Valid values are 16000, 24000, and 48000. The default value is 48000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-