Class AudioCodecSettings
java.lang.Object
software.amazon.awssdk.services.mediaconvert.model.AudioCodecSettings
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AudioCodecSettings.Builder,
AudioCodecSettings>
@Generated("software.amazon.awssdk:codegen")
public final class AudioCodecSettings
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<AudioCodecSettings.Builder,AudioCodecSettings>
Settings related to audio encoding. The settings in this group vary depending on the value that you choose for your
audio codec.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AacSettings
Required when you set Codec to the value AAC.final Ac3Settings
Required when you set Codec to the value AC3.final AiffSettings
Required when you set Codec to the value AIFF.static AudioCodecSettings.Builder
builder()
final AudioCodec
codec()
Choose the audio codec for this output.final String
Choose the audio codec for this output.final Eac3AtmosSettings
Required when you set Codec to the value EAC3_ATMOS.final Eac3Settings
Required when you set Codec to the value EAC3.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FlacSettings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value FLAC.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Mp2Settings
Required when you set Codec to the value MP2.final Mp3Settings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.final OpusSettings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.static Class
<? extends AudioCodecSettings.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final VorbisSettings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.final WavSettings
Required when you set Codec to the value WAV.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
aacSettings
Required when you set Codec to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality. In CBR mode, you use the setting Bitrate. Defaults and valid values depend on the rate control mode.- Returns:
- Required when you set Codec to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality. In CBR mode, you use the setting Bitrate. Defaults and valid values depend on the rate control mode.
-
ac3Settings
Required when you set Codec to the value AC3.- Returns:
- Required when you set Codec to the value AC3.
-
aiffSettings
Required when you set Codec to the value AIFF.- Returns:
- Required when you set Codec to the value AIFF.
-
codec
Choose the audio codec for this output. Note that the option Dolby Digital passthrough applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#reference-codecs-containers -output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/ reference-codecs-containers-input.html#reference-codecs-containers-input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-outputIf the service returns an enum value that is not available in the current SDK version,
codec
will returnAudioCodec.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodecAsString()
.- Returns:
- Choose the audio codec for this output. Note that the option Dolby Digital passthrough applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers .html#reference-codecs-containers-output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers-input.html#reference- codecs-containers-input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output
- See Also:
-
codecAsString
Choose the audio codec for this output. Note that the option Dolby Digital passthrough applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#reference-codecs-containers -output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/ reference-codecs-containers-input.html#reference-codecs-containers-input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-outputIf the service returns an enum value that is not available in the current SDK version,
codec
will returnAudioCodec.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodecAsString()
.- Returns:
- Choose the audio codec for this output. Note that the option Dolby Digital passthrough applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers .html#reference-codecs-containers-output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers-input.html#reference- codecs-containers-input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output
- See Also:
-
eac3AtmosSettings
Required when you set Codec to the value EAC3_ATMOS.- Returns:
- Required when you set Codec to the value EAC3_ATMOS.
-
eac3Settings
Required when you set Codec to the value EAC3.- Returns:
- Required when you set Codec to the value EAC3.
-
flacSettings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value FLAC.- Returns:
- Required when you set Codec, under AudioDescriptions>CodecSettings, to the value FLAC.
-
mp2Settings
Required when you set Codec to the value MP2.- Returns:
- Required when you set Codec to the value MP2.
-
mp3Settings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.- Returns:
- Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.
-
opusSettings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.- Returns:
- Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.
-
vorbisSettings
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.- Returns:
- Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.
-
wavSettings
Required when you set Codec to the value WAV.- Returns:
- Required when you set Codec to the value WAV.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AudioCodecSettings.Builder,
AudioCodecSettings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-