@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum CommandStatus extends Enum<CommandStatus>
Enum Constant and Description |
---|
Cancelled |
Cancelling |
Failed |
InProgress |
Pending |
Success |
TimedOut |
Modifier and Type | Method and Description |
---|---|
static CommandStatus |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static CommandStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandStatus Pending
public static final CommandStatus InProgress
public static final CommandStatus Success
public static final CommandStatus Cancelled
public static final CommandStatus Failed
public static final CommandStatus TimedOut
public static final CommandStatus Cancelling
public static CommandStatus[] values()
for (CommandStatus c : CommandStatus.values()) System.out.println(c);
public static CommandStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<CommandStatus>
public static CommandStatus fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.