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