Record Class FieldDifference
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.plan.FieldDifference
- Record Components:
field- the field, named as on the plan (for examplebandwidthMbps)planned- the planned value, as textlive- the live value, as textpatchable- whether reconcile can update it in place (PATCH); otherwise it is reported only
-
Constructor Summary
ConstructorsConstructorDescriptionFieldDifference(String field, String planned, String live, boolean patchable) Creates an instance of aFieldDifferencerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.field()Returns the value of thefieldrecord component.final inthashCode()Returns a hash code value for this object.live()Returns the value of theliverecord component.booleanReturns the value of thepatchablerecord component.planned()Returns the value of theplannedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. -
field
-
planned
-
live
-
patchable
-