All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.aws.awsprototypingsdk.cdkgraph.IResourceNodeProps Maven / Gradle / Ivy

There is a newer version: 0.19.68
Show newest version
package software.aws.awsprototypingsdk.cdkgraph;

/**
 * (experimental) ResourceNode props.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.82.0 (build 2d2ddd7)", date = "2023-08-15T05:45:13.774Z")
@software.amazon.jsii.Jsii(module = software.aws.awsprototypingsdk.cdkgraph.$Module.class, fqn = "@aws-prototyping-sdk/cdk-graph.IResourceNodeProps")
@software.amazon.jsii.Jsii.Proxy(IResourceNodeProps.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IResourceNodeProps extends software.amazon.jsii.JsiiSerializable, software.aws.awsprototypingsdk.cdkgraph.ITypedNodeProps {

    /**
     * (experimental) Indicates if this resource is owned by cdk (defined in cdk library).
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.lang.Boolean getCdkOwned();

    /**
     * (experimental) Indicates if this resource is owned by cdk (defined in cdk library).
     */
    void setCdkOwned(final @org.jetbrains.annotations.NotNull java.lang.Boolean value);

    /**
     * (experimental) Type of node.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.NodeTypeEnum getNodeType() {
        return null;
    }

    /**
     * (experimental) Type of node.
     */
    @software.amazon.jsii.Optional
    default void setNodeType(final @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.NodeTypeEnum value) {
        throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setNodeType(@org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.NodeTypeEnum)' is not implemented!");
    }

    /**
     * A proxy class which represents a concrete javascript instance of this type.
     */
    @software.amazon.jsii.Internal
    final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements software.aws.awsprototypingsdk.cdkgraph.IResourceNodeProps.Jsii$Default {
        protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
            super(objRef);
        }

        /**
         * (experimental) Attributes.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.util.Map getAttributes() {
            return java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.Kernel.get(this, "attributes", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))))).map(java.util.Collections::unmodifiableMap).orElse(null);
        }

        /**
         * (experimental) Flags.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.util.List getFlags() {
            return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "flags", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.FlagEnum.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
        }

        /**
         * (experimental) Metadata entries.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.util.List getMetadata() {
            return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "metadata", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.constructs.MetadataEntry.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
        }

        /**
         * (experimental) Tags.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.util.Map getTags() {
            return java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.Kernel.get(this, "tags", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableMap).orElse(null);
        }

        /**
         * (experimental) Store.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.Store getStore() {
            return software.amazon.jsii.Kernel.get(this, "store", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.Store.class));
        }

        /**
         * (experimental) UUID.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.String getUuid() {
            return software.amazon.jsii.Kernel.get(this, "uuid", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Node id, which is unique within parent scope.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.String getId() {
            return software.amazon.jsii.Kernel.get(this, "id", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Path of the node.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.String getPath() {
            return software.amazon.jsii.Kernel.get(this, "path", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Type of CloudFormation resource.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.lang.String getCfnType() {
            return software.amazon.jsii.Kernel.get(this, "cfnType", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Synthesized construct information defining jii resolution data.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.ConstructInfo getConstructInfo() {
            return software.amazon.jsii.Kernel.get(this, "constructInfo", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.ConstructInfo.class));
        }

        /**
         * (experimental) Logical id of the node, which is only unique within containing stack.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.lang.String getLogicalId() {
            return software.amazon.jsii.Kernel.get(this, "logicalId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Parent node.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.Node getParent() {
            return software.amazon.jsii.Kernel.get(this, "parent", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.Node.class));
        }

        /**
         * (experimental) Stack the node is contained.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.StackNode getStack() {
            return software.amazon.jsii.Kernel.get(this, "stack", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.StackNode.class));
        }

        /**
         * (experimental) Indicates if this resource is owned by cdk (defined in cdk library).
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.Boolean getCdkOwned() {
            return software.amazon.jsii.Kernel.get(this, "cdkOwned", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
        }

        /**
         * (experimental) Indicates if this resource is owned by cdk (defined in cdk library).
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setCdkOwned(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
            software.amazon.jsii.Kernel.set(this, "cdkOwned", java.util.Objects.requireNonNull(value, "cdkOwned is required"));
        }

        /**
         * (experimental) Type of node.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.NodeTypeEnum getNodeType() {
            return software.amazon.jsii.Kernel.get(this, "nodeType", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.NodeTypeEnum.class));
        }

        /**
         * (experimental) Type of node.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setNodeType(final @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.NodeTypeEnum value) {
            software.amazon.jsii.Kernel.set(this, "nodeType", value);
        }
    }

    /**
     * Internal default implementation for {@link IResourceNodeProps}.
     */
    @software.amazon.jsii.Internal
    interface Jsii$Default extends IResourceNodeProps, software.aws.awsprototypingsdk.cdkgraph.ITypedNodeProps.Jsii$Default {

        /**
         * (experimental) Attributes.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.util.Map getAttributes() {
            return java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.Kernel.get(this, "attributes", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))))).map(java.util.Collections::unmodifiableMap).orElse(null);
        }

        /**
         * (experimental) Flags.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.util.List getFlags() {
            return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "flags", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.FlagEnum.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
        }

        /**
         * (experimental) Metadata entries.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.util.List getMetadata() {
            return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "metadata", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.constructs.MetadataEntry.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
        }

        /**
         * (experimental) Tags.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.util.Map getTags() {
            return java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.Kernel.get(this, "tags", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableMap).orElse(null);
        }

        /**
         * (experimental) Store.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.cdkgraph.Store getStore() {
            return software.amazon.jsii.Kernel.get(this, "store", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.Store.class));
        }

        /**
         * (experimental) UUID.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.String getUuid() {
            return software.amazon.jsii.Kernel.get(this, "uuid", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Node id, which is unique within parent scope.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.String getId() {
            return software.amazon.jsii.Kernel.get(this, "id", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Path of the node.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.String getPath() {
            return software.amazon.jsii.Kernel.get(this, "path", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Type of CloudFormation resource.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.lang.String getCfnType() {
            return software.amazon.jsii.Kernel.get(this, "cfnType", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Synthesized construct information defining jii resolution data.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.ConstructInfo getConstructInfo() {
            return software.amazon.jsii.Kernel.get(this, "constructInfo", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.ConstructInfo.class));
        }

        /**
         * (experimental) Logical id of the node, which is only unique within containing stack.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.lang.String getLogicalId() {
            return software.amazon.jsii.Kernel.get(this, "logicalId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) Parent node.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.Node getParent() {
            return software.amazon.jsii.Kernel.get(this, "parent", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.Node.class));
        }

        /**
         * (experimental) Stack the node is contained.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.StackNode getStack() {
            return software.amazon.jsii.Kernel.get(this, "stack", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.StackNode.class));
        }

        /**
         * (experimental) Indicates if this resource is owned by cdk (defined in cdk library).
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.Boolean getCdkOwned() {
            return software.amazon.jsii.Kernel.get(this, "cdkOwned", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
        }

        /**
         * (experimental) Indicates if this resource is owned by cdk (defined in cdk library).
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setCdkOwned(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
            software.amazon.jsii.Kernel.set(this, "cdkOwned", java.util.Objects.requireNonNull(value, "cdkOwned is required"));
        }

        /**
         * (experimental) Type of node.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.NodeTypeEnum getNodeType() {
            return software.amazon.jsii.Kernel.get(this, "nodeType", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.cdkgraph.NodeTypeEnum.class));
        }

        /**
         * (experimental) Type of node.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setNodeType(final @org.jetbrains.annotations.Nullable software.aws.awsprototypingsdk.cdkgraph.NodeTypeEnum value) {
            software.amazon.jsii.Kernel.set(this, "nodeType", value);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy