Enum AudioCodec
- java.lang.Object
-
- java.lang.Enum<AudioCodec>
-
- software.amazon.awssdk.services.mediaconvert.model.AudioCodec
-
- All Implemented Interfaces:
Serializable,Comparable<AudioCodec>
@Generated("software.amazon.awssdk:codegen") public enum AudioCodec extends Enum<AudioCodec>
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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AACAC3AIFFEAC3EAC3_ATMOSFLACMP2MP3OPUSPASSTHROUGHUNKNOWN_TO_SDK_VERSIONVORBISWAV
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AudioCodecfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<AudioCodec>knownValues()StringtoString()static AudioCodecvalueOf(String name)Returns the enum constant of this type with the specified name.static AudioCodec[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AAC
public static final AudioCodec AAC
-
MP2
public static final AudioCodec MP2
-
MP3
public static final AudioCodec MP3
-
WAV
public static final AudioCodec WAV
-
AIFF
public static final AudioCodec AIFF
-
AC3
public static final AudioCodec AC3
-
EAC3
public static final AudioCodec EAC3
-
EAC3_ATMOS
public static final AudioCodec EAC3_ATMOS
-
VORBIS
public static final AudioCodec VORBIS
-
OPUS
public static final AudioCodec OPUS
-
PASSTHROUGH
public static final AudioCodec PASSTHROUGH
-
FLAC
public static final AudioCodec FLAC
-
UNKNOWN_TO_SDK_VERSION
public static final AudioCodec UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static AudioCodec[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AudioCodec c : AudioCodec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AudioCodec valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<AudioCodec>
-
fromValue
public static AudioCodec fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- AudioCodec corresponding to the value
-
knownValues
public static Set<AudioCodec> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownAudioCodecs
-
-