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