Interface AssociateAgentKnowledgeBaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentRequest.Builder
,Buildable
,CopyableBuilder<AssociateAgentKnowledgeBaseRequest.Builder,
,AssociateAgentKnowledgeBaseRequest> SdkBuilder<AssociateAgentKnowledgeBaseRequest.Builder,
,AssociateAgentKnowledgeBaseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateAgentKnowledgeBaseRequest
@Mutable
@NotThreadSafe
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
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 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.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
AssociateAgentKnowledgeBaseRequest.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.
-