Package org.cdk8s

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

      • 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.

        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