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