Enum InterconnectState
- java.lang.Object
-
- java.lang.Enum<InterconnectState>
-
- com.amazonaws.services.directconnect.model.InterconnectState
-
- All Implemented Interfaces:
Serializable
,Comparable<InterconnectState>
public enum InterconnectState extends Enum<InterconnectState>
State of the interconnect.
-
Requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
-
Pending>: The interconnect has been approved, and is being initialized.
-
Available: The network link is up, and the interconnect is ready for use.
-
Down: The network link is down.
-
Deleting: The interconnect is in the process of being deleted.
-
Deleted: The interconnect has been deleted.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InterconnectState
fromValue(String value)
Use this in place of valueOf.String
toString()
static InterconnectState
valueOf(String name)
Returns the enum constant of this type with the specified name.static InterconnectState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Requested
public static final InterconnectState Requested
-
Pending
public static final InterconnectState Pending
-
Available
public static final InterconnectState Available
-
Down
public static final InterconnectState Down
-
Deleting
public static final InterconnectState Deleting
-
Deleted
public static final InterconnectState Deleted
-
-
Method Detail
-
values
public static InterconnectState[] 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 (InterconnectState c : InterconnectState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterconnectState 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<InterconnectState>
-
fromValue
public static InterconnectState fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- InterconnectState corresponding to the value
-
-