Record Class DesignDecisionRecord.Value

java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Value
Record Components:
cloud - the cloud compared
savings - the private-path egress saving, or null when it could not be computed
tco - the archetype comparison, or null when it could not be computed
notes - why a part is missing, and caveats
assumptions - what was assumed where the spec was silent
Enclosing class:
DesignDecisionRecord

public static record DesignDecisionRecord.Value(String cloud, DesignDecisionRecord.Savings savings, DesignDecisionRecord.Tco tco, List<String> notes, List<String> assumptions) extends Record
The TCO and egress-savings view of the design's main cloud.
  • 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.
    • cloud

      public String cloud()
      Returns the value of the cloud record component.
      Returns:
      the value of the cloud record component
    • savings

      public DesignDecisionRecord.Savings savings()
      Returns the value of the savings record component.
      Returns:
      the value of the savings record component
    • tco

      Returns the value of the tco record component.
      Returns:
      the value of the tco record component
    • notes

      public List<String> notes()
      Returns the value of the notes record component.
      Returns:
      the value of the notes record component
    • assumptions

      public List<String> assumptions()
      Returns the value of the assumptions record component.
      Returns:
      the value of the assumptions record component