Interface BatchUpdateMemoryRecordsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<BatchUpdateMemoryRecordsRequest.Builder,,BatchUpdateMemoryRecordsRequest> SdkBuilder<BatchUpdateMemoryRecordsRequest.Builder,,BatchUpdateMemoryRecordsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchUpdateMemoryRecordsRequest
@Mutable
@NotThreadSafe
public static interface BatchUpdateMemoryRecordsRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateMemoryRecordsRequest.Builder,BatchUpdateMemoryRecordsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID of the memory resource where records will be updated.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) records(Collection<MemoryRecordUpdateInput> records) A list of memory record update inputs to be processed in the batch operation.records(Consumer<MemoryRecordUpdateInput.Builder>... records) A list of memory record update inputs to be processed in the batch operation.records(MemoryRecordUpdateInput... records) A list of memory record update inputs to be processed in the batch operation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
buildMethods 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 unique ID of the memory resource where records will be updated.
- Parameters:
memoryId- The unique ID of the memory resource where records will be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
A list of memory record update inputs to be processed in the batch operation.
- Parameters:
records- A list of memory record update inputs to be processed in the batch operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
A list of memory record update inputs to be processed in the batch operation.
- Parameters:
records- A list of memory record update inputs to be processed in the batch operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
BatchUpdateMemoryRecordsRequest.Builder records(Consumer<MemoryRecordUpdateInput.Builder>... records) A list of memory record update inputs to be processed in the batch operation.
This is a convenience method that creates an instance of theMemoryRecordUpdateInput.Builderavoiding the need to create one manually viaMemoryRecordUpdateInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecords(List<MemoryRecordUpdateInput>).- Parameters:
records- a consumer that will call methods onMemoryRecordUpdateInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateMemoryRecordsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchUpdateMemoryRecordsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-