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