Package com.amazonaws.services.ec2.model
Enum VpcPeeringConnectionStateReasonCode
- java.lang.Object
-
- java.lang.Enum<VpcPeeringConnectionStateReasonCode>
-
- com.amazonaws.services.ec2.model.VpcPeeringConnectionStateReasonCode
-
- All Implemented Interfaces:
Serializable
,Comparable<VpcPeeringConnectionStateReasonCode>
public enum VpcPeeringConnectionStateReasonCode extends Enum<VpcPeeringConnectionStateReasonCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Active
Deleted
Deleting
Expired
Failed
InitiatingRequest
PendingAcceptance
Provisioning
Rejected
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
InitiatingRequest
public static final VpcPeeringConnectionStateReasonCode InitiatingRequest
-
PendingAcceptance
public static final VpcPeeringConnectionStateReasonCode PendingAcceptance
-
Active
public static final VpcPeeringConnectionStateReasonCode Active
-
Deleted
public static final VpcPeeringConnectionStateReasonCode Deleted
-
Rejected
public static final VpcPeeringConnectionStateReasonCode Rejected
-
Failed
public static final VpcPeeringConnectionStateReasonCode Failed
-
Expired
public static final VpcPeeringConnectionStateReasonCode Expired
-
Provisioning
public static final VpcPeeringConnectionStateReasonCode Provisioning
-
Deleting
public static final VpcPeeringConnectionStateReasonCode Deleting
-
-
Method Detail
-
values
public static VpcPeeringConnectionStateReasonCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VpcPeeringConnectionStateReasonCode c : VpcPeeringConnectionStateReasonCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VpcPeeringConnectionStateReasonCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<VpcPeeringConnectionStateReasonCode>
-
fromValue
public static VpcPeeringConnectionStateReasonCode fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- VpcPeeringConnectionStateReasonCode corresponding to the value
-
-