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