Record Class DesignDecisionRecord.PlanSummary
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.PlanSummary
- Record Components:
planId- the plan's content iddeploymentName- the deployment namesteps- plan stepsexecutableSteps- steps the SDK will executerouters- Cloud Routersconnections- provider connectionsbackboneLinks- backbone linksmonthlyTotal- the plan's monthly total, ornullwhen it spans currenciessetupTotal- the one-time total, ornullcurrency- the currency of the totals, ornullpricingSource- the dominant price sourcevalid- whether the plan passed validationvalidationErrors- what failed validation
- Enclosing class:
DesignDecisionRecord
public static record DesignDecisionRecord.PlanSummary(String planId, String deploymentName, int steps, int executableSteps, int routers, int connections, int backboneLinks, BigDecimal monthlyTotal, BigDecimal setupTotal, String currency, String pricingSource, boolean valid, List<String> validationErrors)
extends Record
A deployment plan in brief.
-
Constructor Summary
ConstructorsConstructorDescriptionPlanSummary(String planId, String deploymentName, int steps, int executableSteps, int routers, int connections, int backboneLinks, BigDecimal monthlyTotal, BigDecimal setupTotal, String currency, String pricingSource, boolean valid, List<String> validationErrors) Copies the list. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebackboneLinksrecord component.intReturns the value of theconnectionsrecord component.currency()Returns the value of thecurrencyrecord component.Returns the value of thedeploymentNamerecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theexecutableStepsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themonthlyTotalrecord component.planId()Returns the value of theplanIdrecord component.Returns the value of thepricingSourcerecord component.introuters()Returns the value of theroutersrecord component.Returns the value of thesetupTotalrecord component.intsteps()Returns the value of thestepsrecord component.final StringtoString()Returns a string representation of this record class.booleanvalid()Returns the value of thevalidrecord component.Returns the value of thevalidationErrorsrecord component.
-
Constructor Details
-
PlanSummary
public PlanSummary(String planId, String deploymentName, int steps, int executableSteps, int routers, int connections, int backboneLinks, BigDecimal monthlyTotal, BigDecimal setupTotal, String currency, String pricingSource, boolean valid, List<String> validationErrors) 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. -
planId
-
deploymentName
Returns the value of thedeploymentNamerecord component.- Returns:
- the value of the
deploymentNamerecord component
-
steps
-
executableSteps
public int executableSteps()Returns the value of theexecutableStepsrecord component.- Returns:
- the value of the
executableStepsrecord component
-
routers
-
connections
public int connections()Returns the value of theconnectionsrecord component.- Returns:
- the value of the
connectionsrecord component
-
backboneLinks
public int backboneLinks()Returns the value of thebackboneLinksrecord component.- Returns:
- the value of the
backboneLinksrecord component
-
monthlyTotal
Returns the value of themonthlyTotalrecord component.- Returns:
- the value of the
monthlyTotalrecord component
-
setupTotal
Returns the value of thesetupTotalrecord component.- Returns:
- the value of the
setupTotalrecord component
-
currency
-
pricingSource
Returns the value of thepricingSourcerecord component.- Returns:
- the value of the
pricingSourcerecord component
-
valid
-
validationErrors
Returns the value of thevalidationErrorsrecord component.- Returns:
- the value of the
validationErrorsrecord component
-