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