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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpusSettings.Builderbitrate(Integer bitrate)Optional.OpusSettings.Builderchannels(Integer channels)Specify the number of channels in this output audio track.OpusSettings.BuildersampleRate(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 Detail
-
bitrate
OpusSettings.Builder bitrate(Integer 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
OpusSettings.Builder channels(Integer 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
OpusSettings.Builder sampleRate(Integer 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.
-
-