Record Class DesignDecisionRecord.Context
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Context
- Record Components:
name- the spec namedescription- the spec description, ornullsites- one line per siteworkloads- one line per workloadclouds- one line per cloudpeers- one line per peer networkconstraints- one line per stated constraintweightProfile- the named weight profile, ornullweights- each objective's share of the total weight, 0..1commercial- one line per commercial termspecIssues- the spec's validation warningsbackground- 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 Summary
ConstructorsConstructorDescriptionContext(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) Copies the collections. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebackgroundrecord component.clouds()Returns the value of thecloudsrecord component.Returns the value of thecommercialrecord component.Returns the value of theconstraintsrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.peers()Returns the value of thepeersrecord component.sites()Returns the value of thesitesrecord component.Returns the value of thespecIssuesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theweightProfilerecord component.weights()Returns the value of theweightsrecord component.Returns the value of theworkloadsrecord component.
-
Constructor Details
-
Context
public 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) Copies the collections.
-
-
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). -
name
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
sites
-
workloads
-
clouds
-
peers
-
constraints
Returns the value of theconstraintsrecord component.- Returns:
- the value of the
constraintsrecord component
-
weightProfile
Returns the value of theweightProfilerecord component.- Returns:
- the value of the
weightProfilerecord component
-
weights
-
commercial
Returns the value of thecommercialrecord component.- Returns:
- the value of the
commercialrecord component
-
specIssues
Returns the value of thespecIssuesrecord component.- Returns:
- the value of the
specIssuesrecord component
-
background
Returns the value of thebackgroundrecord component.- Returns:
- the value of the
backgroundrecord component
-