Interface ListMemoryRecordsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<ListMemoryRecordsResponse.Builder,,ListMemoryRecordsResponse> SdkBuilder<ListMemoryRecordsResponse.Builder,,ListMemoryRecordsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListMemoryRecordsResponse
@Mutable
@NotThreadSafe
public static interface ListMemoryRecordsResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<ListMemoryRecordsResponse.Builder,ListMemoryRecordsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmemoryRecordSummaries(Collection<MemoryRecordSummary> memoryRecordSummaries) The list of memory record summaries that match the specified criteria.memoryRecordSummaries(Consumer<MemoryRecordSummary.Builder>... memoryRecordSummaries) The list of memory record summaries that match the specified criteria.memoryRecordSummaries(MemoryRecordSummary... memoryRecordSummaries) The list of memory record summaries that match the specified criteria.The token to use in a subsequent request to get the next set of results.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
memoryRecordSummaries
ListMemoryRecordsResponse.Builder memoryRecordSummaries(Collection<MemoryRecordSummary> memoryRecordSummaries) The list of memory record summaries that match the specified criteria.
- Parameters:
memoryRecordSummaries- The list of memory record summaries that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRecordSummaries
ListMemoryRecordsResponse.Builder memoryRecordSummaries(MemoryRecordSummary... memoryRecordSummaries) The list of memory record summaries that match the specified criteria.
- Parameters:
memoryRecordSummaries- The list of memory record summaries that match the specified criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRecordSummaries
ListMemoryRecordsResponse.Builder memoryRecordSummaries(Consumer<MemoryRecordSummary.Builder>... memoryRecordSummaries) The list of memory record summaries that match the specified criteria.
This is a convenience method that creates an instance of theMemoryRecordSummary.Builderavoiding the need to create one manually viaMemoryRecordSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemoryRecordSummaries(List<MemoryRecordSummary>).- Parameters:
memoryRecordSummaries- a consumer that will call methods onMemoryRecordSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in a subsequent request to get the next set of results. This value is null when there are no more results to return.
- Parameters:
nextToken- The token to use in a subsequent request to get the next set of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-