Record Class DesignDecisionRecord.Savings
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Savings
- Record Components:
monthlyEgressGb- the egress volume comparednetMonthlySavings- the net monthly saving, ornullwhen not pricedannualNetSavings- the annual net saving, ornullpaybackMonths- months to recover one-time costs, ornullcurrency- the currency of the amountscomplete- whether every component was pricedunpriced- what could not be priced
- Enclosing class:
DesignDecisionRecord
public static record DesignDecisionRecord.Savings(BigDecimal monthlyEgressGb, BigDecimal netMonthlySavings, BigDecimal annualNetSavings, BigDecimal paybackMonths, String currency, boolean complete, List<String> unpriced)
extends Record
Egress savings of the private path.
-
Constructor Summary
ConstructorsConstructorDescriptionSavings(BigDecimal monthlyEgressGb, BigDecimal netMonthlySavings, BigDecimal annualNetSavings, BigDecimal paybackMonths, String currency, boolean complete, List<String> unpriced) Copies the list. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theannualNetSavingsrecord component.booleancomplete()Returns the value of thecompleterecord component.currency()Returns the value of thecurrencyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themonthlyEgressGbrecord component.Returns the value of thenetMonthlySavingsrecord component.Returns the value of thepaybackMonthsrecord component.final StringtoString()Returns a string representation of this record class.unpriced()Returns the value of theunpricedrecord component.
-
Constructor Details
-
Savings
public Savings(BigDecimal monthlyEgressGb, BigDecimal netMonthlySavings, BigDecimal annualNetSavings, BigDecimal paybackMonths, String currency, boolean complete, List<String> unpriced) Copies the list.
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
monthlyEgressGb
Returns the value of themonthlyEgressGbrecord component.- Returns:
- the value of the
monthlyEgressGbrecord component
-
netMonthlySavings
Returns the value of thenetMonthlySavingsrecord component.- Returns:
- the value of the
netMonthlySavingsrecord component
-
annualNetSavings
Returns the value of theannualNetSavingsrecord component.- Returns:
- the value of the
annualNetSavingsrecord component
-
paybackMonths
Returns the value of thepaybackMonthsrecord component.- Returns:
- the value of the
paybackMonthsrecord component
-
currency
-
complete
-
unpriced
-