software.aws.awsprototypingsdk.cdkgraph.NestedStackNode Maven / Gradle / Ivy
Show all versions of cdk-graph Show documentation
package software.aws.awsprototypingsdk.cdkgraph;
/**
* (experimental) NestedStackNode defines a cdk NestedStack.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.82.0 (build 2d2ddd7)", date = "2023-08-15T05:45:13.805Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.aws.awsprototypingsdk.cdkgraph.$Module.class, fqn = "@aws-prototyping-sdk/cdk-graph.NestedStackNode")
public class NestedStackNode extends software.aws.awsprototypingsdk.cdkgraph.StackNode {
protected NestedStackNode(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected NestedStackNode(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public NestedStackNode(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.INestedStackNodeProps props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* (experimental) Indicates if node is a {@link NestedStackNode}.
*
* @param node This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull java.lang.Boolean isNestedStackNode(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.Node node) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.aws.awsprototypingsdk.cdkgraph.NestedStackNode.class, "isNestedStackNode", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class), new Object[] { java.util.Objects.requireNonNull(node, "node is required") });
}
/**
* (experimental) Hoist this node to an ancestor by removing it from its current parent node and in turn moving it to the ancestor.
*
* @param newParent This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public void mutateHoist(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.Node newParent) {
software.amazon.jsii.Kernel.call(this, "mutateHoist", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(newParent, "newParent is required") });
}
/**
* (experimental) Get parent stack of this nested stack.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.StackNode getParentStack() {
return software.amazon.jsii.Kernel.get(this, "parentStack", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.StackNode.class));
}
}