Class Subject.Jsii$Proxy

  • All Implemented Interfaces:
    Subject, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    Subject

    @Stability(Stable)
    @Internal
    public static final class Subject.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements Subject
    An implementation for Subject
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(Subject.Builder builder)
      Constructor that initializes the object based on literal property values passed by the Subject.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
      • Jsii$Proxy

        protected Jsii$Proxy​(Subject.Builder builder)
        Constructor that initializes the object based on literal property values passed by the Subject.Builder.
    • Method Detail

      • getKind

        public final String getKind()
        Description copied from interface: Subject
        Kind of object being referenced.

        Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error.

        Specified by:
        getKind in interface Subject
      • getName

        public final String getName()
        Description copied from interface: Subject
        Name of the object being referenced.
        Specified by:
        getName in interface Subject
      • getApiGroup

        public final String getApiGroup()
        Description copied from interface: Subject
        APIGroup holds the API group of the referenced subject.

        Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.

        Default: for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.

        Specified by:
        getApiGroup in interface Subject
      • getNamespace

        public final String getNamespace()
        Description copied from interface: Subject
        Namespace of the referenced object.

        If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.

        Specified by:
        getNamespace in interface Subject
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object