@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum VirtualInterfaceState extends Enum<VirtualInterfaceState>
State of the virtual interface.
Confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.
Verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.
Pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.
Available: A virtual interface that is able to forward traffic.
Down: A virtual interface that is BGP down.
Deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.
Deleted: A virtual interface that cannot forward traffic.
Rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the 'Confirming' state is deleted by the virtual interface owner, the virtual interface will enter the 'Rejected' state.
Enum Constant and Description |
---|
Available |
Confirming |
Deleted |
Deleting |
Down |
Pending |
Rejected |
Verifying |
Modifier and Type | Method and Description |
---|---|
static VirtualInterfaceState |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static VirtualInterfaceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VirtualInterfaceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualInterfaceState Confirming
public static final VirtualInterfaceState Verifying
public static final VirtualInterfaceState Pending
public static final VirtualInterfaceState Available
public static final VirtualInterfaceState Down
public static final VirtualInterfaceState Deleting
public static final VirtualInterfaceState Deleted
public static final VirtualInterfaceState Rejected
public static VirtualInterfaceState[] values()
for (VirtualInterfaceState c : VirtualInterfaceState.values()) System.out.println(c);
public static VirtualInterfaceState 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<VirtualInterfaceState>
public static VirtualInterfaceState fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.