Interface EpisodicMemoryStrategyInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EpisodicMemoryStrategyInput.Builder,,EpisodicMemoryStrategyInput> SdkBuilder<EpisodicMemoryStrategyInput.Builder,,EpisodicMemoryStrategyInput> SdkPojo
- Enclosing class:
EpisodicMemoryStrategyInput
@Mutable
@NotThreadSafe
public static interface EpisodicMemoryStrategyInput.Builder
extends SdkPojo, CopyableBuilder<EpisodicMemoryStrategyInput.Builder,EpisodicMemoryStrategyInput>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the episodic memory strategy.The name of the episodic memory strategy.namespaces(String... namespaces) The namespaces for which to create episodes.namespaces(Collection<String> namespaces) The namespaces 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
The namespaces for which to create episodes.
- Parameters:
namespaces- The namespaces for which to create episodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
The namespaces for which to create episodes.
- Parameters:
namespaces- The namespaces 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:
-