Enum Class PortInterfaceType

java.lang.Object
java.lang.Enum<PortInterfaceType>
com.eqixiac.equinix.internetaccess.enums.PortInterfaceType
All Implemented Interfaces:
APIParam, Serializable, Comparable<PortInterfaceType>, Constable

public enum PortInterfaceType extends Enum<PortInterfaceType> implements APIParam
Physical port interface type of an Equinix Internet Access (EIA) v1 dedicated port configuration (spec schema DedicatedPortDefaultConfiguration...physicalPort.interface, property type). Wire values contain spaces (e.g. 1G SMF), so constants map to the spec spelling via getValue(). UNKNOWN is a read-side fallback for values added after this SDK release - never send it.
  • Enum Constant Details

  • Method Details

    • values

      public static PortInterfaceType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PortInterfaceType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • fromString

      public static PortInterfaceType fromString(String value)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PortInterfaceType>