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