Class KeyLookupOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kms.KeyLookupOptions.Jsii$Proxy
All Implemented Interfaces:
KeyLookupOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
KeyLookupOptions

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

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

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.kms.KeyLookupOptions

    KeyLookupOptions.Builder, KeyLookupOptions.Jsii$Proxy
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final String
    The alias name of the Key.
    final Boolean
    Whether to return a dummy key if the key was not found.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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(KeyLookupOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the KeyLookupOptions.Builder.
  • Method Details

    • getAliasName

      public final String getAliasName()
      Description copied from interface: KeyLookupOptions
      The alias name of the Key.

      Must be in the format alias/<AliasName>.

      Specified by:
      getAliasName in interface KeyLookupOptions
    • getReturnDummyKeyOnMissing

      public final Boolean getReturnDummyKeyOnMissing()
      Description copied from interface: KeyLookupOptions
      Whether to return a dummy key if the key was not found.

      If it is set to true and the key was not found, a dummy key with a key id '1234abcd-12ab-34cd-56ef-1234567890ab' will be returned. The value of the dummy key id can also be referenced using the Key.DEFAULT_DUMMY_KEY_ID variable, and you can check if the key is a dummy key by using the Key.isLookupDummy() method.

      Default: false

      Specified by:
      getReturnDummyKeyOnMissing in interface KeyLookupOptions
    • $jsii$toJson

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

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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