Class Mp2Settings
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.Mp2Settings
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Mp2Settings.Builder,Mp2Settings>
@Generated("software.amazon.awssdk:codegen") public final class Mp2Settings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Mp2Settings.Builder,Mp2Settings>
Required when you set Codec to the value MP2.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Mp2Settings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
bitrate()
Specify the average bitrate in bits per second.static Mp2Settings.Builder
builder()
Integer
channels()
Set Channels to specify the number of channels in this output audio track.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
sampleRate()
Sample rate in Hz.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends Mp2Settings.Builder>
serializableBuilderClass()
Mp2Settings.Builder
toBuilder()
String
toString()
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()
Specify the average bitrate in bits per second.- Returns:
- Specify the average bitrate in bits per second.
-
channels
public final Integer channels()
Set Channels to specify the number of channels in this output audio track. Choosing Mono in will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.- Returns:
- Set Channels to specify the number of channels in this output audio track. Choosing Mono in will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.
-
sampleRate
public final Integer sampleRate()
Sample rate in Hz.- Returns:
- Sample rate in Hz.
-
toBuilder
public Mp2Settings.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Mp2Settings.Builder,Mp2Settings>
-
builder
public static Mp2Settings.Builder builder()
-
serializableBuilderClass
public static Class<? extends Mp2Settings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-