Class Mp3Settings
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.Mp3Settings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Mp3Settings.Builder,Mp3Settings>
@Generated("software.amazon.awssdk:codegen") public final class Mp3Settings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Mp3Settings.Builder,Mp3Settings>
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMp3Settings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerbitrate()Specify the average bitrate in bits per second.static Mp3Settings.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()Mp3RateControlModerateControlMode()Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).StringrateControlModeAsString()Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).IntegersampleRate()Sample rate in Hz.List<SdkField<?>>sdkFields()static Class<? extends Mp3Settings.Builder>serializableBuilderClass()Mp3Settings.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegervbrQuality()Required when you set Bitrate control mode to VBR.-
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()
Specify the average bitrate in bits per second.- Returns:
- Specify the average bitrate in bits per second.
-
channels
public final Integer 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:
- 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.
-
rateControlMode
public final Mp3RateControlMode rateControlMode()
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).If the service returns an enum value that is not available in the current SDK version,
rateControlModewill returnMp3RateControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrateControlModeAsString().- Returns:
- Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
- See Also:
Mp3RateControlMode
-
rateControlModeAsString
public final String rateControlModeAsString()
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).If the service returns an enum value that is not available in the current SDK version,
rateControlModewill returnMp3RateControlMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrateControlModeAsString().- Returns:
- Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
- See Also:
Mp3RateControlMode
-
sampleRate
public final Integer sampleRate()
Sample rate in Hz.- Returns:
- Sample rate in Hz.
-
vbrQuality
public final Integer 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:
- 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).
-
toBuilder
public Mp3Settings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Mp3Settings.Builder,Mp3Settings>
-
builder
public static Mp3Settings.Builder builder()
-
serializableBuilderClass
public static Class<? extends Mp3Settings.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.
-
-