Interface AssociateAgentKnowledgeBaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<AssociateAgentKnowledgeBaseRequest.Builder,,AssociateAgentKnowledgeBaseRequest> SdkBuilder<AssociateAgentKnowledgeBaseRequest.Builder,,AssociateAgentKnowledgeBaseRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateAgentKnowledgeBaseRequest
public static interface AssociateAgentKnowledgeBaseRequest.Builder
extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<AssociateAgentKnowledgeBaseRequest.Builder,AssociateAgentKnowledgeBaseRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the agent with which you want to associate the knowledge base.agentVersion(String agentVersion) The version of the agent with which you want to associate the knowledge base.description(String description) A description of what the agent should use the knowledge base for.knowledgeBaseId(String knowledgeBaseId) The unique identifier of the knowledge base to associate with the agent.knowledgeBaseState(String knowledgeBaseState) Specifies whether to use the knowledge base or not when sending an InvokeAgent request.knowledgeBaseState(KnowledgeBaseState knowledgeBaseState) Specifies whether to use the knowledge base or not when sending an InvokeAgent request.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.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, sdkFields
-
Method Details
-
agentId
The unique identifier of the agent with which you want to associate the knowledge base.
- Parameters:
agentId- The unique identifier of the agent with which you want to associate the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
The version of the agent with which you want to associate the knowledge base.
- Parameters:
agentVersion- The version of the agent with which you want to associate the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of what the agent should use the knowledge base for.
- Parameters:
description- A description of what the agent should use the knowledge base for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseId
The unique identifier of the knowledge base to associate with the agent.
- Parameters:
knowledgeBaseId- The unique identifier of the knowledge base to associate with the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseState
Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
- Parameters:
knowledgeBaseState- Specifies whether to use the knowledge base or not when sending an InvokeAgent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
knowledgeBaseState
AssociateAgentKnowledgeBaseRequest.Builder knowledgeBaseState(KnowledgeBaseState knowledgeBaseState) Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
- Parameters:
knowledgeBaseState- Specifies whether to use the knowledge base or not when sending an InvokeAgent request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AssociateAgentKnowledgeBaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateAgentKnowledgeBaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-