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 Summary
Modifier and TypeFieldDescriptionstatic final OperationStatus
The operation has been canceled.static final OperationStatus
The operation has completed.static final OperationStatus
The operation has failed.static final OperationStatus
The operation has not started yet.static final OperationStatus
The operation is in progress.static final OperationStatus
The operation has succeeded. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OperationStatus
fromString
(String name) Creates or finds a OperationStatus from its string representation.static Collection<OperationStatus>
values()
Gets known OperationStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NOT_STARTED
The operation has not started yet. -
RUNNING
The operation is in progress. -
FAILED
The operation has failed. -
SUCCEEDED
The operation has succeeded. -
COMPLETED
The operation has completed. -
CANCELED
The operation has been canceled.
-
-
Constructor Details
-
OperationStatus
Deprecated.Use thefromString(String)
factory method.Creates a new instance of OperationStatus value.
-
-
Method Details
-
fromString
Creates or finds a OperationStatus from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding OperationStatus.
-
values
Gets known OperationStatus values.- Returns:
- known OperationStatus values.
-
fromString(String)
factory method.