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