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