Enum MediaJobErrorCode
- java.lang.Object
-
- java.lang.Enum<MediaJobErrorCode>
-
- com.azure.messaging.eventgrid.systemevents.MediaJobErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<MediaJobErrorCode>
public enum MediaJobErrorCode extends Enum<MediaJobErrorCode>
Defines values for MediaJobErrorCode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATION_UNSUPPORTED
Enum value ConfigurationUnsupported.CONTENT_MALFORMED
Enum value ContentMalformed.CONTENT_UNSUPPORTED
Enum value ContentUnsupported.DOWNLOAD_NOT_ACCESSIBLE
Enum value DownloadNotAccessible.DOWNLOAD_TRANSIENT_ERROR
Enum value DownloadTransientError.IDENTITY_UNSUPPORTED
Enum value IdentityUnsupported.SERVICE_ERROR
Enum value ServiceError.SERVICE_TRANSIENT_ERROR
Enum value ServiceTransientError.UPLOAD_NOT_ACCESSIBLE
Enum value UploadNotAccessible.UPLOAD_TRANSIENT_ERROR
Enum value UploadTransientError.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaJobErrorCode
fromString(String value)
Parses a serialized value to a MediaJobErrorCode instance.String
toString()
static MediaJobErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static MediaJobErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE_ERROR
public static final MediaJobErrorCode SERVICE_ERROR
Enum value ServiceError.
-
SERVICE_TRANSIENT_ERROR
public static final MediaJobErrorCode SERVICE_TRANSIENT_ERROR
Enum value ServiceTransientError.
-
DOWNLOAD_NOT_ACCESSIBLE
public static final MediaJobErrorCode DOWNLOAD_NOT_ACCESSIBLE
Enum value DownloadNotAccessible.
-
DOWNLOAD_TRANSIENT_ERROR
public static final MediaJobErrorCode DOWNLOAD_TRANSIENT_ERROR
Enum value DownloadTransientError.
-
UPLOAD_NOT_ACCESSIBLE
public static final MediaJobErrorCode UPLOAD_NOT_ACCESSIBLE
Enum value UploadNotAccessible.
-
UPLOAD_TRANSIENT_ERROR
public static final MediaJobErrorCode UPLOAD_TRANSIENT_ERROR
Enum value UploadTransientError.
-
CONFIGURATION_UNSUPPORTED
public static final MediaJobErrorCode CONFIGURATION_UNSUPPORTED
Enum value ConfigurationUnsupported.
-
CONTENT_MALFORMED
public static final MediaJobErrorCode CONTENT_MALFORMED
Enum value ContentMalformed.
-
CONTENT_UNSUPPORTED
public static final MediaJobErrorCode CONTENT_UNSUPPORTED
Enum value ContentUnsupported.
-
IDENTITY_UNSUPPORTED
public static final MediaJobErrorCode IDENTITY_UNSUPPORTED
Enum value IdentityUnsupported.
-
-
Method Detail
-
values
public static MediaJobErrorCode[] 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 (MediaJobErrorCode c : MediaJobErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MediaJobErrorCode 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 MediaJobErrorCode fromString(String value)
Parses a serialized value to a MediaJobErrorCode instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed MediaJobErrorCode object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<MediaJobErrorCode>
-
-