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