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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAudioCodecSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AacSettingsaacSettings()Required when you set Codec to the value AAC.Ac3Settingsac3Settings()Required when you set Codec to the value AC3.AiffSettingsaiffSettings()Required when you set Codec to the value AIFF.static AudioCodecSettings.Builderbuilder()AudioCodeccodec()Choose the audio codec for this output.StringcodecAsString()Choose the audio codec for this output.Eac3AtmosSettingseac3AtmosSettings()Required when you set Codec to the value EAC3_ATMOS.Eac3Settingseac3Settings()Required when you set Codec to the value EAC3.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FlacSettingsflacSettings()Required when you set Codec, under AudioDescriptions>CodecSettings, to the value FLAC.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Mp2Settingsmp2Settings()Required when you set Codec to the value MP2.Mp3Settingsmp3Settings()Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.OpusSettingsopusSettings()Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.List<SdkField<?>>sdkFields()static Class<? extends AudioCodecSettings.Builder>serializableBuilderClass()AudioCodecSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.VorbisSettingsvorbisSettings()Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.WavSettingswavSettings()Required when you set Codec to the value WAV.-
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
-
aacSettings
public final AacSettings 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
public final Ac3Settings ac3Settings()
Required when you set Codec to the value AC3.- Returns:
- Required when you set Codec to the value AC3.
-
aiffSettings
public final AiffSettings aiffSettings()
Required when you set Codec to the value AIFF.- Returns:
- Required when you set Codec to the value AIFF.
-
codec
public final AudioCodec 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:
AudioCodec
-
codecAsString
public final String 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:
AudioCodec
-
eac3AtmosSettings
public final Eac3AtmosSettings eac3AtmosSettings()
Required when you set Codec to the value EAC3_ATMOS.- Returns:
- Required when you set Codec to the value EAC3_ATMOS.
-
eac3Settings
public final Eac3Settings eac3Settings()
Required when you set Codec to the value EAC3.- Returns:
- Required when you set Codec to the value EAC3.
-
flacSettings
public final FlacSettings 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
public final Mp2Settings mp2Settings()
Required when you set Codec to the value MP2.- Returns:
- Required when you set Codec to the value MP2.
-
mp3Settings
public final Mp3Settings 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
public final OpusSettings 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
public final VorbisSettings 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
public final WavSettings wavSettings()
Required when you set Codec to the value WAV.- Returns:
- Required when you set Codec to the value WAV.
-
toBuilder
public AudioCodecSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AudioCodecSettings.Builder,AudioCodecSettings>
-
builder
public static AudioCodecSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends AudioCodecSettings.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.
-
-