Class UnconfiguredBehavesLike.Jsii$Proxy

    • 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

      • getV1

        public final Object getV1()
        Description copied from interface: UnconfiguredBehavesLike
        Historical accident, don't use.

        This value may be present, but it should never be used. The actual value is in the v2 field, regardless of the version of the CDK library.

        Default: - ignore

        Specified by:
        getV1 in interface UnconfiguredBehavesLike
      • getV2

        public final Object getV2()
        Description copied from interface: UnconfiguredBehavesLike
        The value of the flag that produces the same behavior as when the flag is not configured at all.

        Even though it is called 'v2', this is the official name of this field. In any future versions of CDK (v3, v4, ...), this field will still be called 'v2'.

        The structure of this field is a historical accident. See the comment on unconfiguredBehavesLike for more information.

        Default: false

        Specified by:
        getV2 in interface UnconfiguredBehavesLike
      • $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