Class OperationStatus

java.lang.Object
com.azure.core.util.ExpandableStringEnum<OperationStatus>
com.azure.ai.documentintelligence.models.OperationStatus

public final class OperationStatus extends com.azure.core.util.ExpandableStringEnum<OperationStatus>
Operation status.
  • Field Details

    • NOT_STARTED

      public static final OperationStatus NOT_STARTED
      The operation has not started yet.
    • RUNNING

      public static final OperationStatus RUNNING
      The operation is in progress.
    • FAILED

      public static final OperationStatus FAILED
      The operation has failed.
    • SUCCEEDED

      public static final OperationStatus SUCCEEDED
      The operation has succeeded.
    • COMPLETED

      public static final OperationStatus COMPLETED
      The operation has completed.
    • CANCELED

      public static final OperationStatus CANCELED
      The operation has been canceled.
  • Constructor Details

    • OperationStatus

      @Deprecated public OperationStatus()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of OperationStatus value.
  • Method Details

    • fromString

      public static OperationStatus fromString(String name)
      Creates or finds a OperationStatus from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding OperationStatus.
    • values

      public static Collection<OperationStatus> values()
      Gets known OperationStatus values.
      Returns:
      known OperationStatus values.