Record Class EstateInventory.Endpoint

java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.estate.EstateInventory.Endpoint
Record Components:
type - the access-point type (COLO, SP, CLOUD_ROUTER, VD, NETWORK...)
metro - the metro code, when reported
portId - the port uuid for a COLO side
routerId - the Cloud Router uuid for a CLOUD_ROUTER side
deviceId - the Network Edge device uuid for a VD side
networkId - the network uuid for a NETWORK side
serviceProfileId - the service profile uuid for an SP side
serviceProfileName - the service profile name (for example the cloud on-ramp)
serviceTokenId - the service token uuid, when the side was ordered with one
Enclosing class:
EstateInventory

public static record EstateInventory.Endpoint(String type, String metro, String portId, String routerId, String deviceId, String networkId, String serviceProfileId, String serviceProfileName, String serviceTokenId) extends Record
One side of a virtual connection.
  • Constructor Details

    • Endpoint

      public Endpoint(String type, String metro, String portId, String routerId, String deviceId, String networkId, String serviceProfileId, String serviceProfileName, String serviceTokenId)
      Creates an instance of a Endpoint record class.
      Parameters:
      type - the value for the type record component
      metro - the value for the metro record component
      portId - the value for the portId record component
      routerId - the value for the routerId record component
      deviceId - the value for the deviceId record component
      networkId - the value for the networkId record component
      serviceProfileId - the value for the serviceProfileId record component
      serviceProfileName - the value for the serviceProfileName record component
      serviceTokenId - the value for the serviceTokenId record component
  • Method Details

    • unknown

      public static EstateInventory.Endpoint unknown()
      An endpoint about which nothing is known.
      Returns:
      the empty endpoint
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • type

      public String type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • metro

      public String metro()
      Returns the value of the metro record component.
      Returns:
      the value of the metro record component
    • portId

      public String portId()
      Returns the value of the portId record component.
      Returns:
      the value of the portId record component
    • routerId

      public String routerId()
      Returns the value of the routerId record component.
      Returns:
      the value of the routerId record component
    • deviceId

      public String deviceId()
      Returns the value of the deviceId record component.
      Returns:
      the value of the deviceId record component
    • networkId

      public String networkId()
      Returns the value of the networkId record component.
      Returns:
      the value of the networkId record component
    • serviceProfileId

      public String serviceProfileId()
      Returns the value of the serviceProfileId record component.
      Returns:
      the value of the serviceProfileId record component
    • serviceProfileName

      public String serviceProfileName()
      Returns the value of the serviceProfileName record component.
      Returns:
      the value of the serviceProfileName record component
    • serviceTokenId

      public String serviceTokenId()
      Returns the value of the serviceTokenId record component.
      Returns:
      the value of the serviceTokenId record component