Enum 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 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 name
        NullPointerException - if the argument is null
      • fromValue

        public static InterconnectState fromValue​(String value)
        Use this in place of valueOf.
        Parameters:
        value - real value
        Returns:
        InterconnectState corresponding to the value