Record Class LiveConnection

java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.plan.LiveConnection
Record Components:
uuid - the Fabric uuid
name - the connection name
state - the state name; null when not returned
type - the connection type name (for example IP_VC)
bandwidthMbps - the bandwidth, or null
aSideRouterUuid - the A-side Cloud Router uuid, or null
zSideRouterUuid - the Z-side Cloud Router uuid (backbone links), or null
zSideProfileUuid - the Z-side service-profile uuid (provider connections), or null
zSideSellerRegion - the Z-side seller region, or null
zSidePeeringType - the Z-side peering type name, or null
projectId - the project
additionalInfo - the top-level additionalInfo entries (the plan marker lives here)
notificationEmails - every notification recipient

public record LiveConnection(String uuid, String name, String state, String type, Integer bandwidthMbps, String aSideRouterUuid, String zSideRouterUuid, String zSideProfileUuid, String zSideSellerRegion, String zSidePeeringType, String projectId, Map<String,String> additionalInfo, List<String> notificationEmails) extends Record
A connection as read from Fabric: the fields drift detection compares.
  • Constructor Details

  • Method Details

    • isGone

      public boolean isGone()
      Whether the connection is gone or going (DEPROVISIONING, DEPROVISIONED, CANCELLED).
      Returns:
      true when it no longer counts as present
    • 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.
    • uuid

      public String uuid()
      Returns the value of the uuid record component.
      Returns:
      the value of the uuid record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • state

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

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

      public Integer bandwidthMbps()
      Returns the value of the bandwidthMbps record component.
      Returns:
      the value of the bandwidthMbps record component
    • aSideRouterUuid

      public String aSideRouterUuid()
      Returns the value of the aSideRouterUuid record component.
      Returns:
      the value of the aSideRouterUuid record component
    • zSideRouterUuid

      public String zSideRouterUuid()
      Returns the value of the zSideRouterUuid record component.
      Returns:
      the value of the zSideRouterUuid record component
    • zSideProfileUuid

      public String zSideProfileUuid()
      Returns the value of the zSideProfileUuid record component.
      Returns:
      the value of the zSideProfileUuid record component
    • zSideSellerRegion

      public String zSideSellerRegion()
      Returns the value of the zSideSellerRegion record component.
      Returns:
      the value of the zSideSellerRegion record component
    • zSidePeeringType

      public String zSidePeeringType()
      Returns the value of the zSidePeeringType record component.
      Returns:
      the value of the zSidePeeringType record component
    • projectId

      public String projectId()
      Returns the value of the projectId record component.
      Returns:
      the value of the projectId record component
    • additionalInfo

      public Map<String,String> additionalInfo()
      Returns the value of the additionalInfo record component.
      Returns:
      the value of the additionalInfo record component
    • notificationEmails

      public List<String> notificationEmails()
      Returns the value of the notificationEmails record component.
      Returns:
      the value of the notificationEmails record component