Enum TrainingStatus

java.lang.Object
java.lang.Enum<TrainingStatus>
com.azure.ai.formrecognizer.training.models.TrainingStatus
All Implemented Interfaces:
Serializable, Comparable<TrainingStatus>, java.lang.constant.Constable

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

    • SUCCEEDED

      public static final TrainingStatus SUCCEEDED
      Enum value succeeded.
    • PARTIALLY_SUCCEEDED

      public static final TrainingStatus PARTIALLY_SUCCEEDED
      Enum value partiallySucceeded.
    • FAILED

      public static final TrainingStatus FAILED
      Enum value failed.
  • Method Details

    • values

      public static TrainingStatus[] 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 TrainingStatus 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 TrainingStatus fromString(String value)
      Parses a serialized value to a TrainingStatus instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed TrainingStatus object, or null if unable to parse.
    • toString

      public String toString()
      The string representation of the enum value.
      Overrides:
      toString in class Enum<TrainingStatus>
      Returns:
      the string representation of the enum value.