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