java.lang.Object
com.azure.resourcemanager.mediaservices.models.JobError

public final class JobError extends Object
Details of JobOutput errors.
  • Constructor Details

    • JobError

      public JobError()
      Creates an instance of JobError class.
  • Method Details

    • code

      public JobErrorCode code()
      Get the code property: Error code describing the error.
      Returns:
      the code value.
    • message

      public String message()
      Get the message property: A human-readable language-dependent representation of the error.
      Returns:
      the message value.
    • category

      public JobErrorCategory category()
      Get the category property: Helps with categorization of errors.
      Returns:
      the category value.
    • retry

      public JobRetry retry()
      Get the retry property: Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal.
      Returns:
      the retry value.
    • details

      public List<JobErrorDetail> details()
      Get the details property: An array of details about specific errors that led to this reported error.
      Returns:
      the details value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.