Enum MediaJobErrorCategory
- java.lang.Object
-
- java.lang.Enum<MediaJobErrorCategory>
-
- com.microsoft.azure.eventgrid.models.MediaJobErrorCategory
-
- All Implemented Interfaces:
Serializable,Comparable<MediaJobErrorCategory>
public enum MediaJobErrorCategory extends Enum<MediaJobErrorCategory>
Defines values for MediaJobErrorCategory.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATIONThe error is configuration related.CONTENTThe error is related to data in the input files.DOWNLOADThe error is download related.SERVICEThe error is service related.UPLOADThe error is upload related.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaJobErrorCategoryfromString(String value)Parses a serialized value to a MediaJobErrorCategory instance.StringtoString()static MediaJobErrorCategoryvalueOf(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
The error is service related.
-
DOWNLOAD
public static final MediaJobErrorCategory DOWNLOAD
The error is download related.
-
UPLOAD
public static final MediaJobErrorCategory UPLOAD
The error is upload related.
-
CONFIGURATION
public static final MediaJobErrorCategory CONFIGURATION
The error is configuration related.
-
CONTENT
public static final MediaJobErrorCategory CONTENT
The error is related to data in the input files.
-
-
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:
toStringin classEnum<MediaJobErrorCategory>
-
-