Interface CreateMemoryRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- BedrockAgentCoreControlRequest.Builder,- Buildable,- CopyableBuilder<CreateMemoryRequest.Builder,,- CreateMemoryRequest> - SdkBuilder<CreateMemoryRequest.Builder,,- CreateMemoryRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateMemoryRequest
- 
Method SummaryModifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.description(String description) The description of the memory.encryptionKeyArn(String encryptionKeyArn) The Amazon Resource Name (ARN) of the KMS key used to encrypt the memory data.eventExpiryDuration(Integer eventExpiryDuration) The duration after which memory events expire.memoryExecutionRoleArn(String memoryExecutionRoleArn) The Amazon Resource Name (ARN) of the IAM role that provides permissions for the memory to access Amazon Web Services services.memoryStrategies(Collection<MemoryStrategyInput> memoryStrategies) The memory strategies to use for this memory.memoryStrategies(Consumer<MemoryStrategyInput.Builder>... memoryStrategies) The memory strategies to use for this memory.memoryStrategies(MemoryStrategyInput... memoryStrategies) The memory strategies to use for this memory.The name of the memory.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A map of tag keys and values to assign to an AgentCore Memory.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
clientTokenA unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error. - Parameters:
- clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but does not return an error.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe name of the memory. The name must be unique within your account. - Parameters:
- name- The name of the memory. The name must be unique within your account.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe description of the memory. - Parameters:
- description- The description of the memory.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
encryptionKeyArnThe Amazon Resource Name (ARN) of the KMS key used to encrypt the memory data. - Parameters:
- encryptionKeyArn- The Amazon Resource Name (ARN) of the KMS key used to encrypt the memory data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
memoryExecutionRoleArnThe Amazon Resource Name (ARN) of the IAM role that provides permissions for the memory to access Amazon Web Services services. - Parameters:
- memoryExecutionRoleArn- The Amazon Resource Name (ARN) of the IAM role that provides permissions for the memory to access Amazon Web Services services.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventExpiryDurationThe duration after which memory events expire. Specified as an ISO 8601 duration. - Parameters:
- eventExpiryDuration- The duration after which memory events expire. Specified as an ISO 8601 duration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
memoryStrategiesThe memory strategies to use for this memory. Strategies define how information is extracted, processed, and consolidated. - Parameters:
- memoryStrategies- The memory strategies to use for this memory. Strategies define how information is extracted, processed, and consolidated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
memoryStrategiesThe memory strategies to use for this memory. Strategies define how information is extracted, processed, and consolidated. - Parameters:
- memoryStrategies- The memory strategies to use for this memory. Strategies define how information is extracted, processed, and consolidated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
memoryStrategiesCreateMemoryRequest.Builder memoryStrategies(Consumer<MemoryStrategyInput.Builder>... memoryStrategies) The memory strategies to use for this memory. Strategies define how information is extracted, processed, and consolidated. This is a convenience method that creates an instance of theMemoryStrategyInput.Builderavoiding the need to create one manually viaMemoryStrategyInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemoryStrategies(List<MemoryStrategyInput>).- Parameters:
- memoryStrategies- a consumer that will call methods on- MemoryStrategyInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsA map of tag keys and values to assign to an AgentCore Memory. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. - Parameters:
- tags- A map of tag keys and values to assign to an AgentCore Memory. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateMemoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateMemoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-