Enum MediaJobErrorCategory
- java.lang.Object
-
- java.lang.Enum<MediaJobErrorCategory>
-
- com.azure.messaging.eventgrid.systemevents.MediaJobErrorCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<MediaJobErrorCategory>
public enum MediaJobErrorCategory extends Enum<MediaJobErrorCategory>
Defines values for MediaJobErrorCategory.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaJobErrorCategory
fromString(String value)
Parses a serialized value to a MediaJobErrorCategory instance.String
toString()
static MediaJobErrorCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static MediaJobErrorCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE
public static final MediaJobErrorCategory SERVICE
Enum value Service.
-
DOWNLOAD
public static final MediaJobErrorCategory DOWNLOAD
Enum value Download.
-
UPLOAD
public static final MediaJobErrorCategory UPLOAD
Enum value Upload.
-
CONFIGURATION
public static final MediaJobErrorCategory CONFIGURATION
Enum value Configuration.
-
CONTENT
public static final MediaJobErrorCategory CONTENT
Enum value Content.
-
ACCOUNT
public static final MediaJobErrorCategory ACCOUNT
Enum value Account.
-
-
Method Detail
-
values
public static MediaJobErrorCategory[] 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 (MediaJobErrorCategory c : MediaJobErrorCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MediaJobErrorCategory 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
-
fromString
public static MediaJobErrorCategory fromString(String value)
Parses a serialized value to a MediaJobErrorCategory instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed MediaJobErrorCategory object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<MediaJobErrorCategory>
-
-