java.lang.Object
com.azure.core.util.ExpandableStringEnum<CommandState>
com.azure.resourcemanager.datamigration.models.CommandState

public final class CommandState extends com.azure.core.util.ExpandableStringEnum<CommandState>
The state of the command. This is ignored if submitted.
  • Field Details

    • UNKNOWN

      public static final CommandState UNKNOWN
      Static value Unknown for CommandState.
    • ACCEPTED

      public static final CommandState ACCEPTED
      Static value Accepted for CommandState.
    • RUNNING

      public static final CommandState RUNNING
      Static value Running for CommandState.
    • SUCCEEDED

      public static final CommandState SUCCEEDED
      Static value Succeeded for CommandState.
    • FAILED

      public static final CommandState FAILED
      Static value Failed for CommandState.
  • Constructor Details

    • CommandState

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

    • fromString

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

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