Class GuardrailAttributes.Jsii$Proxy

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

@Stability(Experimental) @Internal public static final class GuardrailAttributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GuardrailAttributes
An implementation for GuardrailAttributes
  • 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.bedrock.alpha.GuardrailAttributes

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the GuardrailAttributes.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
    (experimental) The ARN of the guardrail.
    final String
    (experimental) The version of the guardrail.
    final IKey
    (experimental) The KMS key of the guardrail if custom encryption is configured.
    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(GuardrailAttributes.Builder builder)
      Constructor that initializes the object based on literal property values passed by the GuardrailAttributes.Builder.
  • Method Details

    • getGuardrailArn

      public final String getGuardrailArn()
      Description copied from interface: GuardrailAttributes
      (experimental) The ARN of the guardrail.

      At least one of guardrailArn or guardrailId must be defined in order to initialize a guardrail ref.

      Specified by:
      getGuardrailArn in interface GuardrailAttributes
    • getGuardrailVersion

      public final String getGuardrailVersion()
      Description copied from interface: GuardrailAttributes
      (experimental) The version of the guardrail.

      Default: "DRAFT"

      Specified by:
      getGuardrailVersion in interface GuardrailAttributes
    • getKmsKey

      public final IKey getKmsKey()
      Description copied from interface: GuardrailAttributes
      (experimental) The KMS key of the guardrail if custom encryption is configured.

      Default: undefined - Means data is encrypted by default with a AWS-managed key

      Specified by:
      getKmsKey in interface GuardrailAttributes
    • $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