software.aws.awsprototypingsdk.cdkgraph.StackNode Maven / Gradle / Ivy
Show all versions of cdk-graph Show documentation
package software.aws.awsprototypingsdk.cdkgraph;
/**
* (experimental) StackNode defines a cdk Stack.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.82.0 (build 2d2ddd7)", date = "2023-08-15T05:45:13.836Z")
@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.StackNode")
public class StackNode extends software.aws.awsprototypingsdk.cdkgraph.Node {
protected StackNode(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected StackNode(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 StackNode(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.IStackNodeProps 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 StackNode}.
*
* @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 isStackNode(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.Node node) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.aws.awsprototypingsdk.cdkgraph.StackNode.class, "isStackNode", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class), new Object[] { java.util.Objects.requireNonNull(node, "node is required") });
}
/**
* (experimental) Gets the {@link StackNode} containing a given resource.
*
* @param node This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.StackNode of(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.Node node) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.aws.awsprototypingsdk.cdkgraph.StackNode.class, "of", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.StackNode.class), new Object[] { java.util.Objects.requireNonNull(node, "node is required") });
}
/**
* (experimental) Associate {@link OutputNode} with this stack.
*
* @param node This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void addOutput(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.OutputNode node) {
software.amazon.jsii.Kernel.call(this, "addOutput", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(node, "node is required") });
}
/**
* (experimental) Associate {@link ParameterNode} with this stack.
*
* @param node This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void addParameter(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.ParameterNode node) {
software.amazon.jsii.Kernel.call(this, "addParameter", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(node, "node is required") });
}
/**
* (experimental) Find {@link OutputNode} with *logicalId* defined by this stack.
*
* @param logicalId This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.OutputNode findOutput(final @org.jetbrains.annotations.NotNull java.lang.String logicalId) {
return software.amazon.jsii.Kernel.call(this, "findOutput", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.OutputNode.class), new Object[] { java.util.Objects.requireNonNull(logicalId, "logicalId is required") });
}
/**
* (experimental) Find {@link ParameterNode} with *parameterId* defined by this stack.
*
* @param parameterId This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.ParameterNode findParameter(final @org.jetbrains.annotations.NotNull java.lang.String parameterId) {
return software.amazon.jsii.Kernel.call(this, "findParameter", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.ParameterNode.class), new Object[] { java.util.Objects.requireNonNull(parameterId, "parameterId is required") });
}
/**
* (experimental) Destroys this node by removing all references and removing this node from the store.
*
* @param strict
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public void mutateDestroy(final @org.jetbrains.annotations.Nullable java.lang.Boolean strict) {
software.amazon.jsii.Kernel.call(this, "mutateDestroy", software.amazon.jsii.NativeType.VOID, new Object[] { strict });
}
/**
* (experimental) Destroys this node by removing all references and removing this node from the store.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public void mutateDestroy() {
software.amazon.jsii.Kernel.call(this, "mutateDestroy", software.amazon.jsii.NativeType.VOID);
}
/**
* (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) Disassociate {@link OutputNode} from this stack.
*
* @param node This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Boolean mutateRemoveOutput(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.OutputNode node) {
return software.amazon.jsii.Kernel.call(this, "mutateRemoveOutput", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class), new Object[] { java.util.Objects.requireNonNull(node, "node is required") });
}
/**
* (experimental) Disassociate {@link ParameterNode} from this stack.
*
* @param node This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.lang.Boolean mutateRemoveParameter(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.ParameterNode node) {
return software.amazon.jsii.Kernel.call(this, "mutateRemoveParameter", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class), new Object[] { java.util.Objects.requireNonNull(node, "node is required") });
}
/**
* (experimental) Get all **exported** {@link OutputNode}s defined by this stack.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.List getExports() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "exports", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.OutputNode.class))));
}
/**
* (experimental) Get all {@link OutputNode}s defined by this stack.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.List getOutputs() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "outputs", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.OutputNode.class))));
}
/**
* (experimental) Get all {@link ParameterNode}s defined by this stack.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.List getParameters() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "parameters", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.ParameterNode.class))));
}
/**
* (experimental) Get {@link StageNode} containing this stack.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.StageNode getStage() {
return software.amazon.jsii.Kernel.get(this, "stage", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.StageNode.class));
}
}