Enum MediaJobErrorCode

java.lang.Object
java.lang.Enum<MediaJobErrorCode>
com.azure.messaging.eventgrid.systemevents.MediaJobErrorCode
All Implemented Interfaces:
Serializable, Comparable<MediaJobErrorCode>, java.lang.constant.Constable

public enum MediaJobErrorCode extends Enum<MediaJobErrorCode>
Defines values for MediaJobErrorCode.
  • Enum Constant Details

    • 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 Details

    • values

      public static MediaJobErrorCode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - 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 class Enum<MediaJobErrorCode>