Interface MemoryRecordUpdateInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MemoryRecordUpdateInput.Builder,,MemoryRecordUpdateInput> SdkBuilder<MemoryRecordUpdateInput.Builder,,MemoryRecordUpdateInput> SdkPojo
- Enclosing class:
- MemoryRecordUpdateInput
@Mutable
@NotThreadSafe
public static interface MemoryRecordUpdateInput.Builder
extends SdkPojo, CopyableBuilder<MemoryRecordUpdateInput.Builder,MemoryRecordUpdateInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MemoryRecordUpdateInput.Buildercontent(Consumer<MemoryContent.Builder> content) The content to be stored within the memory record.content(MemoryContent content) The content to be stored within the memory record.memoryRecordId(String memoryRecordId) The unique ID of the memory record to be updated.memoryStrategyId(String memoryStrategyId) The updated ID of the memory strategy that defines how this memory record is grouped.metadata(Map<String, MemoryRecordMetadataValue> metadata) Metadata key-value pairs to be stored with the memory record.namespaces(String... namespaces) The updated list of namespace identifiers for categorizing the memory record.namespaces(Collection<String> namespaces) The updated list of namespace identifiers for categorizing the memory record.Time at which the memory record was updatedMethods 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
-
memoryRecordId
The unique ID of the memory record to be updated.
- Parameters:
memoryRecordId- The unique ID of the memory record to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
Time at which the memory record was updated
- Parameters:
timestamp- Time at which the memory record was updated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content to be stored within the memory record.
- Parameters:
content- The content to be stored within the memory record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content to be stored within the memory record.
This is a convenience method that creates an instance of theMemoryContent.Builderavoiding the need to create one manually viaMemoryContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(MemoryContent).- Parameters:
content- a consumer that will call methods onMemoryContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespaces
The updated list of namespace identifiers for categorizing the memory record.
- Parameters:
namespaces- The updated list of namespace identifiers for categorizing the memory record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
The updated list of namespace identifiers for categorizing the memory record.
- Parameters:
namespaces- The updated list of namespace identifiers for categorizing the memory record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryStrategyId
The updated ID of the memory strategy that defines how this memory record is grouped.
- Parameters:
memoryStrategyId- The updated ID of the memory strategy that defines how this memory record is grouped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Metadata key-value pairs to be stored with the memory record.
- Parameters:
metadata- Metadata key-value pairs to be stored with the memory record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-