Class CommandState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CommandState>
com.azure.resourcemanager.datamigration.models.CommandState
The state of the command. This is ignored if submitted.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CommandState
Static value Accepted for CommandState.static final CommandState
Static value Failed for CommandState.static final CommandState
Static value Running for CommandState.static final CommandState
Static value Succeeded for CommandState.static final CommandState
Static value Unknown for CommandState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommandState
fromString
(String name) Creates or finds a CommandState from its string representation.static Collection<CommandState>
values()
Gets known CommandState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
UNKNOWN
Static value Unknown for CommandState. -
ACCEPTED
Static value Accepted for CommandState. -
RUNNING
Static value Running for CommandState. -
SUCCEEDED
Static value Succeeded for CommandState. -
FAILED
Static value Failed for CommandState.
-
-
Constructor Details
-
CommandState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of CommandState value.
-
-
Method Details
-
fromString
Creates or finds a CommandState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CommandState.
-
values
Gets known CommandState values.- Returns:
- known CommandState values.
-
fromString(String)
factory method.