@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum JobStatus extends Enum<JobStatus>
Enum Constant and Description |
---|
Active |
Cancelled |
Cancelling |
Complete |
Completing |
Failed |
Failing |
New |
Paused |
Pausing |
Preparing |
Ready |
Suspended |
Modifier and Type | Method and Description |
---|---|
static JobStatus |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static JobStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatus Active
public static final JobStatus Cancelled
public static final JobStatus Cancelling
public static final JobStatus Complete
public static final JobStatus Completing
public static final JobStatus Failed
public static final JobStatus Failing
public static final JobStatus New
public static final JobStatus Paused
public static final JobStatus Pausing
public static final JobStatus Preparing
public static final JobStatus Ready
public static final JobStatus Suspended
public static JobStatus[] values()
for (JobStatus c : JobStatus.values()) System.out.println(c);
public static JobStatus 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 JobStatus fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.