Enum VideoCodec
- java.lang.Object
-
- java.lang.Enum<VideoCodec>
-
- software.amazon.awssdk.services.mediaconvert.model.VideoCodec
-
- All Implemented Interfaces:
Serializable,Comparable<VideoCodec>
@Generated("software.amazon.awssdk:codegen") public enum VideoCodec extends Enum<VideoCodec>
Type of video codec
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AV1AVC_INTRAFRAME_CAPTUREH_264H_265MPEG2PASSTHROUGHPRORESUNKNOWN_TO_SDK_VERSIONVC3VP8VP9XAVC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VideoCodecfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<VideoCodec>knownValues()StringtoString()static VideoCodecvalueOf(String name)Returns the enum constant of this type with the specified name.static VideoCodec[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AV1
public static final VideoCodec AV1
-
AVC_INTRA
public static final VideoCodec AVC_INTRA
-
FRAME_CAPTURE
public static final VideoCodec FRAME_CAPTURE
-
H_264
public static final VideoCodec H_264
-
H_265
public static final VideoCodec H_265
-
MPEG2
public static final VideoCodec MPEG2
-
PASSTHROUGH
public static final VideoCodec PASSTHROUGH
-
PRORES
public static final VideoCodec PRORES
-
VC3
public static final VideoCodec VC3
-
VP8
public static final VideoCodec VP8
-
VP9
public static final VideoCodec VP9
-
XAVC
public static final VideoCodec XAVC
-
UNKNOWN_TO_SDK_VERSION
public static final VideoCodec UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static VideoCodec[] 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 (VideoCodec c : VideoCodec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VideoCodec 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<VideoCodec>
-
fromValue
public static VideoCodec 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:
- VideoCodec corresponding to the value
-
knownValues
public static Set<VideoCodec> 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 knownVideoCodecs
-
-