Interface AgentKnowledgeBase.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AgentKnowledgeBase.Builder,AgentKnowledgeBase>,SdkBuilder<AgentKnowledgeBase.Builder,AgentKnowledgeBase>,SdkPojo
- Enclosing class:
- AgentKnowledgeBase
public static interface AgentKnowledgeBase.Builder extends SdkPojo, CopyableBuilder<AgentKnowledgeBase.Builder,AgentKnowledgeBase>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentKnowledgeBase.BuilderagentId(String agentId)The unique identifier of the agent with which the knowledge base is associated.AgentKnowledgeBase.BuilderagentVersion(String agentVersion)The version of the agent with which the knowledge base is associated.AgentKnowledgeBase.BuildercreatedAt(Instant createdAt)The time at which the association between the agent and the knowledge base was created.AgentKnowledgeBase.Builderdescription(String description)The description of the association between the agent and the knowledge base.AgentKnowledgeBase.BuilderknowledgeBaseId(String knowledgeBaseId)The unique identifier of the association between the agent and the knowledge base.AgentKnowledgeBase.BuilderknowledgeBaseState(String knowledgeBaseState)Specifies whether to use the knowledge base or not when sending an InvokeAgent request.AgentKnowledgeBase.BuilderknowledgeBaseState(KnowledgeBaseState knowledgeBaseState)Specifies whether to use the knowledge base or not when sending an InvokeAgent request.AgentKnowledgeBase.BuilderupdatedAt(Instant updatedAt)The time at which the association between the agent and the knowledge base was last updated.-
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
AgentKnowledgeBase.Builder agentId(String agentId)
The unique identifier of the agent with which the knowledge base is associated.
- Parameters:
agentId- The unique identifier of the agent with which the knowledge base is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
AgentKnowledgeBase.Builder agentVersion(String agentVersion)
The version of the agent with which the knowledge base is associated.
- Parameters:
agentVersion- The version of the agent with which the knowledge base is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
AgentKnowledgeBase.Builder createdAt(Instant createdAt)
The time at which the association between the agent and the knowledge base was created.
- Parameters:
createdAt- The time at which the association between the agent and the knowledge base was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
AgentKnowledgeBase.Builder description(String description)
The description of the association between the agent and the knowledge base.
- Parameters:
description- The description of the association between the agent and the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseId
AgentKnowledgeBase.Builder knowledgeBaseId(String knowledgeBaseId)
The unique identifier of the association between the agent and the knowledge base.
- Parameters:
knowledgeBaseId- The unique identifier of the association between the agent and the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseState
AgentKnowledgeBase.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
AgentKnowledgeBase.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
-
updatedAt
AgentKnowledgeBase.Builder updatedAt(Instant updatedAt)
The time at which the association between the agent and the knowledge base was last updated.
- Parameters:
updatedAt- The time at which the association between the agent and the knowledge base was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-