Record Class CarbonIntensityTable
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.sustainability.CarbonIntensityTable
- Record Components:
gramsCo2ePerKwh- intensity per metro code, in grams of CO2-equivalent per kWh; finite, non-negativesource- where the figures come from (publisher and dataset); requiredasOf- the period or date the figures describe (for example2025 annual average); requiredmethod-location-based,market-basedor another stated method; required
public record CarbonIntensityTable(Map<String,Double> gramsCo2ePerKwh, String source, String asOf, String method)
extends Record
Grid carbon intensity per metro, supplied by the caller, with its provenance. This SDK ships no
emissions figures: it has no public, citable per-metro source it can stand behind, so the
CarbonObjective is inert until a caller gives it a table taken from a source they can cite
(a grid operator, a national inventory, a commercial data provider, Equinix sustainability reporting
for a specific facility).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasOf()Returns the value of theasOfrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegramsCo2ePerKwhrecord component.final inthashCode()Returns a hash code value for this object.method()Returns the value of themethodrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
UNIT
-
-
Constructor Details
-
CarbonIntensityTable
-
-
Method Details
-
intensity
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
gramsCo2ePerKwh
Returns the value of thegramsCo2ePerKwhrecord component.- Returns:
- the value of the
gramsCo2ePerKwhrecord component
-
source
-
asOf
-
method
-