Record Class EstateReport.UtilizationSummary

java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.estate.EstateReport.UtilizationSummary
Record Components:
collected - whether the probe ran
windowStart - the window start, or null
windowEnd - the window end, or null
probed - resources probed
withData - resources with data
source - the data source
Enclosing class:
EstateReport

public static record EstateReport.UtilizationSummary(boolean collected, Instant windowStart, Instant windowEnd, int probed, int withData, String source) extends Record
What utilisation data the analysis had.
  • Constructor Details

    • UtilizationSummary

      public UtilizationSummary(boolean collected, Instant windowStart, Instant windowEnd, int probed, int withData, String source)
      Creates an instance of a UtilizationSummary record class.
      Parameters:
      collected - the value for the collected record component
      windowStart - the value for the windowStart record component
      windowEnd - the value for the windowEnd record component
      probed - the value for the probed record component
      withData - the value for the withData record component
      source - the value for the source record component
  • Method Details

    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • collected

      public boolean collected()
      Returns the value of the collected record component.
      Returns:
      the value of the collected record component
    • windowStart

      public Instant windowStart()
      Returns the value of the windowStart record component.
      Returns:
      the value of the windowStart record component
    • windowEnd

      public Instant windowEnd()
      Returns the value of the windowEnd record component.
      Returns:
      the value of the windowEnd record component
    • probed

      public int probed()
      Returns the value of the probed record component.
      Returns:
      the value of the probed record component
    • withData

      public int withData()
      Returns the value of the withData record component.
      Returns:
      the value of the withData record component
    • source

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