Interface SemanticMemoryStrategyInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SemanticMemoryStrategyInput.Builder,,SemanticMemoryStrategyInput> SdkBuilder<SemanticMemoryStrategyInput.Builder,,SemanticMemoryStrategyInput> SdkPojo
- Enclosing class:
SemanticMemoryStrategyInput
@Mutable
@NotThreadSafe
public static interface SemanticMemoryStrategyInput.Builder
extends SdkPojo, CopyableBuilder<SemanticMemoryStrategyInput.Builder,SemanticMemoryStrategyInput>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the semantic memory strategy.memoryRecordSchema(Consumer<MemoryRecordSchema.Builder> memoryRecordSchema) Sets the value of the MemoryRecordSchema property for this object.memoryRecordSchema(MemoryRecordSchema memoryRecordSchema) Sets the value of the MemoryRecordSchema property for this object.The name of the semantic memory strategy.namespaces(String... namespaces) Deprecated.Use namespaceTemplates insteadnamespaces(Collection<String> namespaces) Deprecated.Use namespaceTemplates insteadnamespaceTemplates(String... namespaceTemplates) The namespaceTemplates associated with the semantic memory strategy.namespaceTemplates(Collection<String> namespaceTemplates) The namespaceTemplates associated with the semantic 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 semantic memory strategy.
- Parameters:
name- The name of the semantic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the semantic memory strategy.
- Parameters:
description- The description of the semantic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
Deprecated.Use namespaceTemplates insteadThe namespaces associated with the semantic memory strategy.
- Parameters:
namespaces- The namespaces associated with the semantic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
Deprecated.Use namespaceTemplates insteadThe namespaces associated with the semantic memory strategy.
- Parameters:
namespaces- The namespaces associated with the semantic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceTemplates
The namespaceTemplates associated with the semantic memory strategy.
- Parameters:
namespaceTemplates- The namespaceTemplates associated with the semantic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceTemplates
The namespaceTemplates associated with the semantic memory strategy.
- Parameters:
namespaceTemplates- The namespaceTemplates associated with the semantic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRecordSchema
Sets the value of the MemoryRecordSchema property for this object.- Parameters:
memoryRecordSchema- The new value for the MemoryRecordSchema property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRecordSchema
default SemanticMemoryStrategyInput.Builder memoryRecordSchema(Consumer<MemoryRecordSchema.Builder> memoryRecordSchema) Sets the value of the MemoryRecordSchema property for this object. 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:
-