Interface UpdateAgentKnowledgeBaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentRequest.Builder
,Buildable
,CopyableBuilder<UpdateAgentKnowledgeBaseRequest.Builder,
,UpdateAgentKnowledgeBaseRequest> SdkBuilder<UpdateAgentKnowledgeBaseRequest.Builder,
,UpdateAgentKnowledgeBaseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAgentKnowledgeBaseRequest
@Mutable
@NotThreadSafe
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
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, sdkFieldNameToField, 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-