Interface AgentCollaboratorSummary.Builder

  • Method Details

    • agentDescriptor

      AgentCollaboratorSummary.Builder agentDescriptor(AgentDescriptor agentDescriptor)

      The collaborator's agent descriptor.

      Parameters:
      agentDescriptor - The collaborator's agent descriptor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentDescriptor

      default AgentCollaboratorSummary.Builder agentDescriptor(Consumer<AgentDescriptor.Builder> agentDescriptor)

      The collaborator's agent descriptor.

      This is a convenience method that creates an instance of the AgentDescriptor.Builder avoiding the need to create one manually via AgentDescriptor.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to agentDescriptor(AgentDescriptor).

      Parameters:
      agentDescriptor - a consumer that will call methods on AgentDescriptor.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • agentId

      The collaborator's agent ID.

      Parameters:
      agentId - The collaborator's agent ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentVersion

      AgentCollaboratorSummary.Builder agentVersion(String agentVersion)

      The collaborator's agent version.

      Parameters:
      agentVersion - The collaborator's agent version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collaborationInstruction

      AgentCollaboratorSummary.Builder collaborationInstruction(String collaborationInstruction)

      The collaborator's collaboration instruction.

      Parameters:
      collaborationInstruction - The collaborator's collaboration instruction.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collaboratorId

      AgentCollaboratorSummary.Builder collaboratorId(String collaboratorId)

      The collaborator's ID.

      Parameters:
      collaboratorId - The collaborator's ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collaboratorName

      AgentCollaboratorSummary.Builder collaboratorName(String collaboratorName)

      The collaborator's name.

      Parameters:
      collaboratorName - The collaborator's name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      When the collaborator was created.

      Parameters:
      createdAt - When the collaborator was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      AgentCollaboratorSummary.Builder lastUpdatedAt(Instant lastUpdatedAt)

      When the collaborator was last updated.

      Parameters:
      lastUpdatedAt - When the collaborator was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relayConversationHistory

      AgentCollaboratorSummary.Builder relayConversationHistory(String relayConversationHistory)

      The collaborator's relay conversation history.

      Parameters:
      relayConversationHistory - The collaborator's relay conversation history.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • relayConversationHistory

      AgentCollaboratorSummary.Builder relayConversationHistory(RelayConversationHistory relayConversationHistory)

      The collaborator's relay conversation history.

      Parameters:
      relayConversationHistory - The collaborator's relay conversation history.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: