Interface UpdateAgentKnowledgeBaseRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRequest.Builder,Buildable,CopyableBuilder<UpdateAgentKnowledgeBaseRequest.Builder,UpdateAgentKnowledgeBaseRequest>,SdkBuilder<UpdateAgentKnowledgeBaseRequest.Builder,UpdateAgentKnowledgeBaseRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAgentKnowledgeBaseRequest
public static interface UpdateAgentKnowledgeBaseRequest.Builder extends BedrockAgentRequest.Builder, SdkPojo, CopyableBuilder<UpdateAgentKnowledgeBaseRequest.Builder,UpdateAgentKnowledgeBaseRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateAgentKnowledgeBaseRequest.BuilderagentId(String agentId)The unique identifier of the agent associated with the knowledge base that you want to update.UpdateAgentKnowledgeBaseRequest.BuilderagentVersion(String agentVersion)The version of the agent associated with the knowledge base that you want to update.UpdateAgentKnowledgeBaseRequest.Builderdescription(String description)Specifies a new description for the knowledge base associated with an agent.UpdateAgentKnowledgeBaseRequest.BuilderknowledgeBaseId(String knowledgeBaseId)The unique identifier of the knowledge base that has been associated with an agent.UpdateAgentKnowledgeBaseRequest.BuilderknowledgeBaseState(String knowledgeBaseState)Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.UpdateAgentKnowledgeBaseRequest.BuilderknowledgeBaseState(KnowledgeBaseState knowledgeBaseState)Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.UpdateAgentKnowledgeBaseRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAgentKnowledgeBaseRequest.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
UpdateAgentKnowledgeBaseRequest.Builder agentId(String agentId)
The unique identifier of the agent associated with the knowledge base that you want to update.
- Parameters:
agentId- The unique identifier of the agent associated with the knowledge base that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
UpdateAgentKnowledgeBaseRequest.Builder agentVersion(String agentVersion)
The version of the agent associated with the knowledge base that you want to update.
- Parameters:
agentVersion- The version of the agent associated with the knowledge base that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateAgentKnowledgeBaseRequest.Builder description(String description)
Specifies a new description for the knowledge base associated with an agent.
- Parameters:
description- Specifies a new description for the knowledge base associated with an agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseId
UpdateAgentKnowledgeBaseRequest.Builder knowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base that has been associated with an agent.
- Parameters:
knowledgeBaseId- The unique identifier of the knowledge base that has been associated with an agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseState
UpdateAgentKnowledgeBaseRequest.Builder knowledgeBaseState(String knowledgeBaseState)
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.
- Parameters:
knowledgeBaseState- Specifies whether the agent uses 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
UpdateAgentKnowledgeBaseRequest.Builder knowledgeBaseState(KnowledgeBaseState knowledgeBaseState)
Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.
- Parameters:
knowledgeBaseState- Specifies whether the agent uses 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
UpdateAgentKnowledgeBaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAgentKnowledgeBaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-