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