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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AacSettingsRequired when you set Codec to the value AAC.final Ac3SettingsRequired when you set Codec to the value AC3.final AiffSettingsRequired when you set Codec to the value AIFF.static AudioCodecSettings.Builderbuilder()final AudioCodeccodec()Choose the audio codec for this output.final StringChoose the audio codec for this output.final Eac3AtmosSettingsRequired when you set Codec to the value EAC3_ATMOS.final Eac3SettingsRequired when you set Codec to the value EAC3.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FlacSettingsRequired when you set Codec, under AudioDescriptions>CodecSettings, to the value FLAC.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Mp2SettingsRequired when you set Codec to the value MP2.final Mp3SettingsRequired when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.final OpusSettingsRequired 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 StringtoString()Returns a string representation of this object.final VorbisSettingsRequired when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.final WavSettingsRequired 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,
codecwill 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,
codecwill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AudioCodecSettings.Builder,AudioCodecSettings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-