Interface UpdateMemoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreControlRequest.Builder
,Buildable
,CopyableBuilder<UpdateMemoryRequest.Builder,
,UpdateMemoryRequest> SdkBuilder<UpdateMemoryRequest.Builder,
,UpdateMemoryRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateMemoryRequest
@Mutable
@NotThreadSafe
public static interface UpdateMemoryRequest.Builder
extends BedrockAgentCoreControlRequest.Builder, SdkPojo, CopyableBuilder<UpdateMemoryRequest.Builder,UpdateMemoryRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A client token is used for keeping track of idempotent requests.description
(String description) The updated description of the memory.eventExpiryDuration
(Integer eventExpiryDuration) The number of days after which memory events will expire, between 7 and 365 days.memoryExecutionRoleArn
(String memoryExecutionRoleArn) The ARN of the IAM role that provides permissions for the memory.The unique identifier of the memory to update.default UpdateMemoryRequest.Builder
memoryStrategies
(Consumer<ModifyMemoryStrategies.Builder> memoryStrategies) The memory strategies to add, modify, or delete.memoryStrategies
(ModifyMemoryStrategies memoryStrategies) The memory strategies to add, modify, or delete.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique AWS identifier.
- Parameters:
clientToken
- A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique AWS identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryId
The unique identifier of the memory to update.
- Parameters:
memoryId
- The unique identifier of the memory to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description of the memory.
- Parameters:
description
- The updated description of the memory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventExpiryDuration
The number of days after which memory events will expire, between 7 and 365 days.
- Parameters:
eventExpiryDuration
- The number of days after which memory events will expire, between 7 and 365 days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryExecutionRoleArn
The ARN of the IAM role that provides permissions for the memory.
- Parameters:
memoryExecutionRoleArn
- The ARN of the IAM role that provides permissions for the memory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryStrategies
The memory strategies to add, modify, or delete.
- Parameters:
memoryStrategies
- The memory strategies to add, modify, or delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryStrategies
default UpdateMemoryRequest.Builder memoryStrategies(Consumer<ModifyMemoryStrategies.Builder> memoryStrategies) The memory strategies to add, modify, or delete.
This is a convenience method that creates an instance of theModifyMemoryStrategies.Builder
avoiding the need to create one manually viaModifyMemoryStrategies.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemoryStrategies(ModifyMemoryStrategies)
.- Parameters:
memoryStrategies
- a consumer that will call methods onModifyMemoryStrategies.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateMemoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMemoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-