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