Record Class DesignDecisionRecord.Context

java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Context
Record Components:
name - the spec name
description - the spec description, or null
sites - one line per site
workloads - one line per workload
clouds - one line per cloud
peers - one line per peer network
constraints - one line per stated constraint
weightProfile - the named weight profile, or null
weights - each objective's share of the total weight, 0..1
commercial - one line per commercial term
specIssues - the spec's validation warnings
background - supplied context: the existing estate and the peering analysis, one line each
Enclosing class:
DesignDecisionRecord

public static record DesignDecisionRecord.Context(String name, String description, List<String> sites, List<String> workloads, List<String> clouds, List<String> peers, List<String> constraints, String weightProfile, Map<String,Double> weights, List<String> commercial, List<String> specIssues, List<String> background) extends Record
The requirements, restated from the spec in words.
  • 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.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • sites

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

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

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

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

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

      public String weightProfile()
      Returns the value of the weightProfile record component.
      Returns:
      the value of the weightProfile record component
    • weights

      public Map<String,Double> weights()
      Returns the value of the weights record component.
      Returns:
      the value of the weights record component
    • commercial

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

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

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