Record Class CompletedStep
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.plan.CompletedStep
- Record Components:
key- the step's logical keykind- the element kindname- the resource nameuuid- the Fabric uuidparentUuid- for a routing protocol, the uuid of its connection; otherwisenullstate- the last state observed (for examplePROVISIONED), orCREATE_ACCEPTEDwhen the checkpoint was written before the state waitcreatedByRun-truewhen an SDK run created it,falsewhen it was adopted
public record CompletedStep(String key, ResourceKind kind, String name, String uuid, String parentUuid, String state, boolean createdByRun)
extends Record
A step recorded in a
Checkpoint: the resource exists (or its create was accepted) under
this uuid.-
Constructor Summary
ConstructorsConstructorDescriptionCompletedStep(String key, ResourceKind kind, String name, String uuid, String parentUuid, String state, boolean createdByRun) Creates an instance of aCompletedSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecreatedByRunrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.kind()Returns the value of thekindrecord component.name()Returns the value of thenamerecord component.Returns the value of theparentUuidrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.uuid()Returns the value of theuuidrecord component.
-
Constructor Details
-
CompletedStep
public CompletedStep(String key, ResourceKind kind, String name, String uuid, String parentUuid, String state, boolean createdByRun) Creates an instance of aCompletedSteprecord class.- Parameters:
key- the value for thekeyrecord componentkind- the value for thekindrecord componentname- the value for thenamerecord componentuuid- the value for theuuidrecord componentparentUuid- the value for theparentUuidrecord componentstate- the value for thestaterecord componentcreatedByRun- the value for thecreatedByRunrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
key
-
kind
-
name
-
uuid
-
parentUuid
Returns the value of theparentUuidrecord component.- Returns:
- the value of the
parentUuidrecord component
-
state
-
createdByRun
public boolean createdByRun()Returns the value of thecreatedByRunrecord component.- Returns:
- the value of the
createdByRunrecord component
-