Class OpusSettings
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.OpusSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OpusSettings.Builder,OpusSettings>
@Generated("software.amazon.awssdk:codegen") public final class OpusSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OpusSettings.Builder,OpusSettings>
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOpusSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerbitrate()Optional.static OpusSettings.Builderbuilder()Integerchannels()Specify the number of channels in this output audio track.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegersampleRate()Optional.List<SdkField<?>>sdkFields()static Class<? extends OpusSettings.Builder>serializableBuilderClass()OpusSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bitrate
public final 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.- Returns:
- 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.
-
channels
public final 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.- Returns:
- 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.
-
sampleRate
public final Integer sampleRate()
Optional. Sample rate in Hz. Valid values are 16000, 24000, and 48000. The default value is 48000.- Returns:
- Optional. Sample rate in Hz. Valid values are 16000, 24000, and 48000. The default value is 48000.
-
toBuilder
public OpusSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OpusSettings.Builder,OpusSettings>
-
builder
public static OpusSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends OpusSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-