@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum RunStatus extends Enum<RunStatus>
Enum Constant and Description |
---|
CANCELLED |
COMPLETED |
DELETED |
FAILED |
PENDING |
RUNNING |
STARTING |
STOPPING |
Modifier and Type | Method and Description |
---|---|
static RunStatus |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static RunStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunStatus PENDING
public static final RunStatus STARTING
public static final RunStatus RUNNING
public static final RunStatus STOPPING
public static final RunStatus COMPLETED
public static final RunStatus DELETED
public static final RunStatus CANCELLED
public static final RunStatus FAILED
public static RunStatus[] values()
for (RunStatus c : RunStatus.values()) System.out.println(c);
public static RunStatus 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 static RunStatus fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.