Record Class PlanStep
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.plan.PlanStep
- Record Components:
key- the stable logical keykind- the element kindname- the planned resource namedependsOn- keys of the steps that must exist firstnotExecutableReason- why the SDK will not create the element, ornullwhen it will
public record PlanStep(String key, ResourceKind kind, String name, List<String> dependsOn, String notExecutableReason)
extends Record
One element of a plan in its uniform, dependency-ordered form: what
PlanSteps.of(DeploymentPlan) derives
from a DeploymentPlan for execution, reconcile, drift detection and checkpoints.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedependsOnrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanWhether the SDK creates this element.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 thenotExecutableReasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PlanStep
-
-
Method Details
-
executable
public boolean executable()Whether the SDK creates this element.- Returns:
truewhen there is no not-executable reason
-
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). -
key
-
kind
-
name
-
dependsOn
-
notExecutableReason
Returns the value of thenotExecutableReasonrecord component.- Returns:
- the value of the
notExecutableReasonrecord component
-