Record Class LiveRouter

java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.plan.LiveRouter
Record Components:
uuid - the Fabric uuid
name - the router name
state - the state name (for example PROVISIONED); null when not returned
metroCode - the metro code
packageCode - the package code name
projectId - the project
notificationEmails - every notification recipient, in returned order

public record LiveRouter(String uuid, String name, String state, String metroCode, String packageCode, String projectId, List<String> notificationEmails) extends Record
A Cloud Router as read from Fabric: the fields drift detection compares.
  • Constructor Details

  • Method Details

    • isGone

      public boolean isGone()
      Whether the router is gone or going (DEPROVISIONING, DEPROVISIONED).
      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
    • metroCode

      public String metroCode()
      Returns the value of the metroCode record component.
      Returns:
      the value of the metroCode record component
    • packageCode

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

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

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