Class AgentcoreMemoryStrategyConfiguration


  • public final class AgentcoreMemoryStrategyConfiguration
    extends java.lang.Object
    • Method Detail

      • consolidation

        public java.util.Optional<AgentcoreMemoryStrategyConfigurationConsolidation> consolidation()
        Returns:
        Consolidation configuration for the memory strategy. See `consolidation` Block below. Cannot be used with `type` set to `SELF_MANAGED`. Once added, this block cannot be removed without recreating the resource.
      • extraction

        public java.util.Optional<AgentcoreMemoryStrategyConfigurationExtraction> extraction()
        Returns:
        Extraction configuration for the memory strategy. See `extraction` Block below. Cannot be used with `type` set to `SUMMARY_OVERRIDE` or `SELF_MANAGED`. Once added, this block cannot be removed without recreating the resource.
      • reflection

        public java.util.Optional<AgentcoreMemoryStrategyConfigurationReflection> reflection()
        Returns:
        Reflection configuration for the memory strategy. See `reflection` Block below. Can only be used, and is required, with `type` set to `EPISODIC_OVERRIDE`. Once added, this block cannot be removed without recreating the resource.
      • selfManagedConfiguration

        public java.util.Optional<AgentcoreMemoryStrategyConfigurationSelfManagedConfiguration> selfManagedConfiguration()
        Returns:
        Self-managed processing configuration. Required when `type` is `SELF_MANAGED` and only valid for that type. See `selfManagedConfiguration` Block below.
      • type

        public java.lang.String type()
        Returns:
        Type of custom override. Valid values: `SEMANTIC_OVERRIDE`, `SUMMARY_OVERRIDE`, `USER_PREFERENCE_OVERRIDE`, `EPISODIC_OVERRIDE`, `SELF_MANAGED`. Changing this forces a new resource.