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

org.cdk8s.plus31.ISubject Maven / Gradle / Ivy

package org.cdk8s.plus31;

/**
 * Represents an object that can be used as a role binding subject.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-10-12T12:14:17.386Z")
@software.amazon.jsii.Jsii(module = org.cdk8s.plus31.$Module.class, fqn = "cdk8s-plus-31.ISubject")
@software.amazon.jsii.Jsii.Proxy(ISubject.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface ISubject extends software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct {

    /**
     * Return the subject configuration.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    @org.jetbrains.annotations.NotNull org.cdk8s.plus31.SubjectConfiguration toSubjectConfiguration();

    /**
     * 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 org.cdk8s.plus31.ISubject.Jsii$Default {
        protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
            super(objRef);
        }

        /**
         * The tree node.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
        public final @org.jetbrains.annotations.NotNull software.constructs.Node getNode() {
            return software.amazon.jsii.Kernel.get(this, "node", software.amazon.jsii.NativeType.forClass(software.constructs.Node.class));
        }

        /**
         * Return the subject configuration.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
        @Override
        public final @org.jetbrains.annotations.NotNull org.cdk8s.plus31.SubjectConfiguration toSubjectConfiguration() {
            return software.amazon.jsii.Kernel.call(this, "toSubjectConfiguration", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus31.SubjectConfiguration.class));
        }
    }

    /**
     * Internal default implementation for {@link ISubject}.
     */
    @software.amazon.jsii.Internal
    interface Jsii$Default extends ISubject, software.constructs.IConstruct.Jsii$Default {

        /**
         * The tree node.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
        default @org.jetbrains.annotations.NotNull software.constructs.Node getNode() {
            return software.amazon.jsii.Kernel.get(this, "node", software.amazon.jsii.NativeType.forClass(software.constructs.Node.class));
        }

        /**
         * Return the subject configuration.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
        @Override
        default @org.jetbrains.annotations.NotNull org.cdk8s.plus31.SubjectConfiguration toSubjectConfiguration() {
            return software.amazon.jsii.Kernel.call(this, "toSubjectConfiguration", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus31.SubjectConfiguration.class));
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy