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 Details

    • 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

      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:
    • 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.