Record Class DesignDecisionRecord.GrowthItem
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.GrowthItem
- Record Components:
label- what is paid forupgradeMonth- the first month the tier changes, ornullupgradeNote- the upgrade in words, ornullrecommendedTerm- the cheapest term over the horizon, ornullwhen none pricedrecommendation- why
- Enclosing class:
DesignDecisionRecord
-
Constructor Summary
Constructors -
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.label()Returns the value of thelabelrecord component.Returns the value of therecommendationrecord component.Returns the value of therecommendedTermrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupgradeMonthrecord component.Returns the value of theupgradeNoterecord component.
-
Constructor Details
-
GrowthItem
public GrowthItem(String label, Integer upgradeMonth, String upgradeNote, String recommendedTerm, String recommendation) Creates an instance of aGrowthItemrecord class.- Parameters:
label- the value for thelabelrecord componentupgradeMonth- the value for theupgradeMonthrecord componentupgradeNote- the value for theupgradeNoterecord componentrecommendedTerm- the value for therecommendedTermrecord componentrecommendation- the value for therecommendationrecord component
-
-
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). -
label
-
upgradeMonth
Returns the value of theupgradeMonthrecord component.- Returns:
- the value of the
upgradeMonthrecord component
-
upgradeNote
Returns the value of theupgradeNoterecord component.- Returns:
- the value of the
upgradeNoterecord component
-
recommendedTerm
Returns the value of therecommendedTermrecord component.- Returns:
- the value of the
recommendedTermrecord component
-
recommendation
Returns the value of therecommendationrecord component.- Returns:
- the value of the
recommendationrecord component
-