Class OwnerReference.Jsii$Proxy

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

    @Stability(Stable)
    @Internal
    public static final class OwnerReference.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements OwnerReference
    An implementation for OwnerReference
    • 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.
    • Method Detail

      • getKind

        public final String getKind()
        Description copied from interface: OwnerReference
        Kind of the referent.

        More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

        Specified by:
        getKind in interface OwnerReference
      • getName

        public final String getName()
        Description copied from interface: OwnerReference
        Name of the referent.

        More info: http://kubernetes.io/docs/user-guide/identifiers#names

        Specified by:
        getName in interface OwnerReference
      • getUid

        public final String getUid()
        Description copied from interface: OwnerReference
        UID of the referent.

        More info: http://kubernetes.io/docs/user-guide/identifiers#uids

        Specified by:
        getUid in interface OwnerReference
      • getBlockOwnerDeletion

        public final Boolean getBlockOwnerDeletion()
        Description copied from interface: OwnerReference
        If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed.

        See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.

        Default: false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.

        Specified by:
        getBlockOwnerDeletion in interface OwnerReference
      • $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