Record Class EstateReport.UtilizationSummary
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.estate.EstateReport.UtilizationSummary
- Record Components:
collected- whether the probe ranwindowStart- the window start, ornullwindowEnd- the window end, ornullprobed- resources probedwithData- resources with datasource- the data source
- Enclosing class:
EstateReport
-
Constructor Summary
ConstructorsConstructorDescriptionUtilizationSummary(boolean collected, Instant windowStart, Instant windowEnd, int probed, int withData, String source) Creates an instance of aUtilizationSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecollectedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intprobed()Returns the value of theprobedrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewindowEndrecord component.Returns the value of thewindowStartrecord component.intwithData()Returns the value of thewithDatarecord component.
-
Constructor Details
-
UtilizationSummary
public UtilizationSummary(boolean collected, Instant windowStart, Instant windowEnd, int probed, int withData, String source) Creates an instance of aUtilizationSummaryrecord class.- Parameters:
collected- the value for thecollectedrecord componentwindowStart- the value for thewindowStartrecord componentwindowEnd- the value for thewindowEndrecord componentprobed- the value for theprobedrecord componentwithData- the value for thewithDatarecord componentsource- the value for thesourcerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
collected
-
windowStart
Returns the value of thewindowStartrecord component.- Returns:
- the value of the
windowStartrecord component
-
windowEnd
-
probed
-
withData
-
source
-