Record Class DesignDecisionRecord.Reproduction
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Reproduction
- Record Components:
specFingerprint- the spec's fingerprintpinnedSpecFingerprint- the fingerprint of the spec with the used exchange rates pinned (DesignDecisionRecord.reproducibleSpec()); equal tospecFingerprintwhen nothing was convertedpinnedRates- the exchange rates used, units of the spec currency per one unit of each keyratesAsOf- the rates' dates, ornullratesSource- the rates' sources, ornullsdkVersion- the SDK version that produced the record
- Enclosing class:
DesignDecisionRecord
-
Constructor Summary
ConstructorsConstructorDescriptionReproduction(String specFingerprint, String pinnedSpecFingerprint, Map<String, BigDecimal> pinnedRates, String ratesAsOf, String ratesSource, String sdkVersion) Sorts the rates. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepinnedRatesrecord component.Returns the value of thepinnedSpecFingerprintrecord component.Returns the value of theratesAsOfrecord component.Returns the value of theratesSourcerecord component.Returns the value of thesdkVersionrecord component.Returns the value of thespecFingerprintrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Reproduction
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
specFingerprint
Returns the value of thespecFingerprintrecord component.- Returns:
- the value of the
specFingerprintrecord component
-
pinnedSpecFingerprint
Returns the value of thepinnedSpecFingerprintrecord component.- Returns:
- the value of the
pinnedSpecFingerprintrecord component
-
pinnedRates
Returns the value of thepinnedRatesrecord component.- Returns:
- the value of the
pinnedRatesrecord component
-
ratesAsOf
-
ratesSource
Returns the value of theratesSourcerecord component.- Returns:
- the value of the
ratesSourcerecord component
-
sdkVersion
Returns the value of thesdkVersionrecord component.- Returns:
- the value of the
sdkVersionrecord component
-