Record Class DesignDecisionRecord.Reproduction

java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Reproduction
Record Components:
specFingerprint - the spec's fingerprint
pinnedSpecFingerprint - the fingerprint of the spec with the used exchange rates pinned (DesignDecisionRecord.reproducibleSpec()); equal to specFingerprint when nothing was converted
pinnedRates - the exchange rates used, units of the spec currency per one unit of each key
ratesAsOf - the rates' dates, or null
ratesSource - the rates' sources, or null
sdkVersion - the SDK version that produced the record
Enclosing class:
DesignDecisionRecord

public static record DesignDecisionRecord.Reproduction(String specFingerprint, String pinnedSpecFingerprint, Map<String, BigDecimal> pinnedRates, String ratesAsOf, String ratesSource, String sdkVersion) extends Record
What pins the record's figures.
  • Constructor Details

  • 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. 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.
    • specFingerprint

      public String specFingerprint()
      Returns the value of the specFingerprint record component.
      Returns:
      the value of the specFingerprint record component
    • pinnedSpecFingerprint

      public String pinnedSpecFingerprint()
      Returns the value of the pinnedSpecFingerprint record component.
      Returns:
      the value of the pinnedSpecFingerprint record component
    • pinnedRates

      public Map<String, BigDecimal> pinnedRates()
      Returns the value of the pinnedRates record component.
      Returns:
      the value of the pinnedRates record component
    • ratesAsOf

      public String ratesAsOf()
      Returns the value of the ratesAsOf record component.
      Returns:
      the value of the ratesAsOf record component
    • ratesSource

      public String ratesSource()
      Returns the value of the ratesSource record component.
      Returns:
      the value of the ratesSource record component
    • sdkVersion

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