Class MemoryProps.Jsii$Proxy

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

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the MemoryProps.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
    Optional description for the memory Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters.
    final IRole
    The IAM role that provides permissions for the memory to access AWS services when using custom strategies.
    final Duration
    Short-term memory expiration in days (between 7 and 365).
    final IKey
    Custom KMS key to use for encryption.
    final String
    The name of the memory Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}.
    If you need long-term memory for context recall across sessions, you can setup memory extraction strategies to extract the relevant memory from the raw events.
    Tags (optional) A list of key:value pairs of tags to apply to this memory resource.
    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(MemoryProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the MemoryProps.Builder.
  • Method Details

    • getDescription

      public final String getDescription()
      Description copied from interface: MemoryProps
      Optional description for the memory Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen) and spaces The description can have up to 200 characters.

      Default: - No description

      Specified by:
      getDescription in interface MemoryProps
    • getExecutionRole

      public final IRole getExecutionRole()
      Description copied from interface: MemoryProps
      The IAM role that provides permissions for the memory to access AWS services when using custom strategies.

      Default: - A new role will be created.

      Specified by:
      getExecutionRole in interface MemoryProps
    • getExpirationDuration

      public final Duration getExpirationDuration()
      Description copied from interface: MemoryProps
      Short-term memory expiration in days (between 7 and 365).

      Sets the short-term (raw event) memory retention. Events older than the specified duration will expire and no longer be stored.

      Default: - 90 days

      Specified by:
      getExpirationDuration in interface MemoryProps
    • getKmsKey

      public final IKey getKmsKey()
      Description copied from interface: MemoryProps
      Custom KMS key to use for encryption.

      Default: - Your data is encrypted with a key that AWS owns and manages for you

      Specified by:
      getKmsKey in interface MemoryProps
    • getMemoryName

      public final String getMemoryName()
      Description copied from interface: MemoryProps
      The name of the memory Valid characters are a-z, A-Z, 0-9, _ (underscore) The name must start with a letter and can be up to 48 characters long Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}.

      Default: - auto generate

      Specified by:
      getMemoryName in interface MemoryProps
    • getMemoryStrategies

      public final List<IMemoryStrategy> getMemoryStrategies()
      Description copied from interface: MemoryProps
      If you need long-term memory for context recall across sessions, you can setup memory extraction strategies to extract the relevant memory from the raw events.

      Default: - No extraction strategies (short term memory only)

      Specified by:
      getMemoryStrategies in interface MemoryProps
    • getTags

      public final Map<String,String> getTags()
      Description copied from interface: MemoryProps
      Tags (optional) A list of key:value pairs of tags to apply to this memory resource.

      Default: - no tags

      Specified by:
      getTags in interface MemoryProps
    • $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