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
Modifier and TypeMethodDescriptionThe unique identifier of the agent associated with the knowledge base that you want to update.agentVersion(String agentVersion) The version of the agent associated with the knowledge base that you want to update.description(String description) Specifies a new description for the knowledge base associated with an agent.knowledgeBaseId(String knowledgeBaseId) The unique identifier of the knowledge base that has been associated with an agent.knowledgeBaseState(String knowledgeBaseState) Specifies whether the agent uses the knowledge base or not when sending an InvokeAgent request.knowledgeBaseState(KnowledgeBaseState knowledgeBaseState) Specifies whether the agent uses 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 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
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
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
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
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
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:
-
overrideConfiguration
UpdateAgentKnowledgeBaseRequest.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
UpdateAgentKnowledgeBaseRequest.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.
-