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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateAgentKnowledgeBaseRequest.BuilderagentId(String agentId)The unique identifier of the agent with which you want to associate the knowledge base.AssociateAgentKnowledgeBaseRequest.BuilderagentVersion(String agentVersion)The version of the agent with which you want to associate the knowledge base.AssociateAgentKnowledgeBaseRequest.Builderdescription(String description)A description of what the agent should use the knowledge base for.AssociateAgentKnowledgeBaseRequest.BuilderknowledgeBaseId(String knowledgeBaseId)The unique identifier of the knowledge base to associate with the agent.AssociateAgentKnowledgeBaseRequest.BuilderknowledgeBaseState(String knowledgeBaseState)Specifies whether to use the knowledge base or not when sending an InvokeAgent request.AssociateAgentKnowledgeBaseRequest.BuilderknowledgeBaseState(KnowledgeBaseState knowledgeBaseState)Specifies whether to use the knowledge base or not when sending an InvokeAgent request.AssociateAgentKnowledgeBaseRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssociateAgentKnowledgeBaseRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest.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, sdkFields
-
-
-
-
Method Detail
-
agentId
AssociateAgentKnowledgeBaseRequest.Builder agentId(String 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
AssociateAgentKnowledgeBaseRequest.Builder agentVersion(String 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
AssociateAgentKnowledgeBaseRequest.Builder description(String 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
AssociateAgentKnowledgeBaseRequest.Builder knowledgeBaseId(String 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
AssociateAgentKnowledgeBaseRequest.Builder knowledgeBaseState(String 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,KnowledgeBaseState
-
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:
KnowledgeBaseState,KnowledgeBaseState
-
overrideConfiguration
AssociateAgentKnowledgeBaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateAgentKnowledgeBaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-