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