Enum JobStatus
- java.lang.Object
-
- java.lang.Enum<JobStatus>
-
- software.amazon.awssdk.iot.iotjobs.model.JobStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<JobStatus>
public enum JobStatus extends Enum<JobStatus>
The status of the job execution.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELED
Enum value for CANCELEDFAILED
Enum value for FAILEDIN_PROGRESS
Enum value for IN_PROGRESSQUEUED
Enum value for QUEUEDREJECTED
Enum value for REJECTEDREMOVED
Enum value for REMOVEDSUCCEEDED
Enum value for SUCCEEDEDTIMED_OUT
Enum value for TIMED_OUTUNKNOWN_ENUM_VALUE
Enum value is an unknown value
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
UNKNOWN_ENUM_VALUE
public static final JobStatus UNKNOWN_ENUM_VALUE
Enum value is an unknown value
-
IN_PROGRESS
public static final JobStatus IN_PROGRESS
Enum value for IN_PROGRESS
-
FAILED
public static final JobStatus FAILED
Enum value for FAILED
-
QUEUED
public static final JobStatus QUEUED
Enum value for QUEUED
-
TIMED_OUT
public static final JobStatus TIMED_OUT
Enum value for TIMED_OUT
-
SUCCEEDED
public static final JobStatus SUCCEEDED
Enum value for SUCCEEDED
-
CANCELED
public static final JobStatus CANCELED
Enum value for CANCELED
-
REJECTED
public static final JobStatus REJECTED
Enum value for REJECTED
-
REMOVED
public static final JobStatus REMOVED
Enum value for REMOVED
-
-
Method Detail
-
values
public static JobStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JobStatus c : JobStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-