Interface MemoryListSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MemoryListSummary.Builder,,MemoryListSummary> SdkBuilder<MemoryListSummary.Builder,,MemoryListSummary> SdkPojo
- Enclosing class:
MemoryListSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe memory's ID, assigned by the service.memoryType(String memoryType) The memory type.memoryType(MemoryType memoryType) The memory type.The memory's metadata tags.strategyName(String strategyName) The name of the strategy the memory belongs to, for exampleuser-facts: the strategymemoryStrategiesselects on inListMemories.default MemoryListSummary.BuildersystemMetadata(Consumer<SystemMetadata.Builder> systemMetadata) Provenance for the memory: the owning actor and session, and when it was created and last updated.systemMetadata(SystemMetadata systemMetadata) Provenance for the memory: the owning actor and session, and when it was created and last updated.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
-
memoryId
The memory's ID, assigned by the service. IDs are opaque, can contain hyphens and underscores, and can be up to 512 characters long.
- Parameters:
memoryId- The memory's ID, assigned by the service. IDs are opaque, can contain hyphens and underscores, and can be up to 512 characters long.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryType
The memory type.
- Parameters:
memoryType- The memory type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memoryType
The memory type.
- Parameters:
memoryType- The memory type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
strategyName
The name of the strategy the memory belongs to, for example
user-facts: the strategymemoryStrategiesselects on inListMemories. Absent when the memory's strategy is no longer declared on the space, for example right after the strategy is deleted.- Parameters:
strategyName- The name of the strategy the memory belongs to, for exampleuser-facts: the strategymemoryStrategiesselects on inListMemories. Absent when the memory's strategy is no longer declared on the space, for example right after the strategy is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemMetadata
Provenance for the memory: the owning actor and session, and when it was created and last updated. Always present, with both timestamps.
- Parameters:
systemMetadata- Provenance for the memory: the owning actor and session, and when it was created and last updated. Always present, with both timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
systemMetadata
Provenance for the memory: the owning actor and session, and when it was created and last updated. Always present, with both timestamps.
This is a convenience method that creates an instance of theSystemMetadata.Builderavoiding the need to create one manually viaSystemMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosystemMetadata(SystemMetadata).- Parameters:
systemMetadata- a consumer that will call methods onSystemMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadata
The memory's metadata tags. All values are strings.
- Parameters:
metadata- The memory's metadata tags. All values are strings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-