Interface EpisodicMemoryStrategyInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EpisodicMemoryStrategyInput.Builder,,EpisodicMemoryStrategyInput> SdkBuilder<EpisodicMemoryStrategyInput.Builder,,EpisodicMemoryStrategyInput> SdkPojo
- Enclosing class:
EpisodicMemoryStrategyInput
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the episodic memory strategy.memoryRecordSchema(Consumer<MemoryRecordSchema.Builder> memoryRecordSchema) Schema for metadata fields on records generated by this strategy.memoryRecordSchema(MemoryRecordSchema memoryRecordSchema) Schema for metadata fields on records generated by this strategy.The name of the episodic memory strategy.namespaces(String... namespaces) Deprecated.Use namespaceTemplates insteadnamespaces(Collection<String> namespaces) Deprecated.Use namespaceTemplates insteadnamespaceTemplates(String... namespaceTemplates) The namespaceTemplates for which to create episodes.namespaceTemplates(Collection<String> namespaceTemplates) The namespaceTemplates for which to create episodes.reflectionConfiguration(Consumer<EpisodicReflectionConfigurationInput.Builder> reflectionConfiguration) The configuration for the reflections created with the episodic memory strategy.reflectionConfiguration(EpisodicReflectionConfigurationInput reflectionConfiguration) The configuration for the reflections created with the episodic memory strategy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the episodic memory strategy.
- Parameters:
name- The name of the episodic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the episodic memory strategy.
- Parameters:
description- The description of the episodic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
Deprecated.Use namespaceTemplates insteadThis is a legacy parameter, use
namespaceTemplates. The namespaces for which to create episodes.- Parameters:
namespaces- This is a legacy parameter, usenamespaceTemplates. The namespaces for which to create episodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
Deprecated.Use namespaceTemplates insteadThis is a legacy parameter, use
namespaceTemplates. The namespaces for which to create episodes.- Parameters:
namespaces- This is a legacy parameter, usenamespaceTemplates. The namespaces for which to create episodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceTemplates
The namespaceTemplates for which to create episodes.
- Parameters:
namespaceTemplates- The namespaceTemplates for which to create episodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceTemplates
The namespaceTemplates for which to create episodes.
- Parameters:
namespaceTemplates- The namespaceTemplates for which to create episodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reflectionConfiguration
EpisodicMemoryStrategyInput.Builder reflectionConfiguration(EpisodicReflectionConfigurationInput reflectionConfiguration) The configuration for the reflections created with the episodic memory strategy.
- Parameters:
reflectionConfiguration- The configuration for the reflections created with the episodic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reflectionConfiguration
default EpisodicMemoryStrategyInput.Builder reflectionConfiguration(Consumer<EpisodicReflectionConfigurationInput.Builder> reflectionConfiguration) The configuration for the reflections created with the episodic memory strategy.
This is a convenience method that creates an instance of theEpisodicReflectionConfigurationInput.Builderavoiding the need to create one manually viaEpisodicReflectionConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreflectionConfiguration(EpisodicReflectionConfigurationInput).- Parameters:
reflectionConfiguration- a consumer that will call methods onEpisodicReflectionConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memoryRecordSchema
Schema for metadata fields on records generated by this strategy.
- Parameters:
memoryRecordSchema- Schema for metadata fields on records generated by this strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRecordSchema
default EpisodicMemoryStrategyInput.Builder memoryRecordSchema(Consumer<MemoryRecordSchema.Builder> memoryRecordSchema) Schema for metadata fields on records generated by this strategy.
This is a convenience method that creates an instance of theMemoryRecordSchema.Builderavoiding the need to create one manually viaMemoryRecordSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemoryRecordSchema(MemoryRecordSchema).- Parameters:
memoryRecordSchema- a consumer that will call methods onMemoryRecordSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-