Interface AgentSummary.Builder

  • Method Details

    • agentId

      AgentSummary.Builder agentId(String agentId)

      The unique identifier of the agent.

      Parameters:
      agentId - The unique identifier of the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentName

      AgentSummary.Builder agentName(String agentName)

      The name of the agent.

      Parameters:
      agentName - The name of the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentStatus

      AgentSummary.Builder agentStatus(String agentStatus)

      The status of the agent.

      Parameters:
      agentStatus - The status of the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • agentStatus

      AgentSummary.Builder agentStatus(AgentStatus agentStatus)

      The status of the agent.

      Parameters:
      agentStatus - The status of the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      AgentSummary.Builder description(String description)

      The description of the agent.

      Parameters:
      description - The description of the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • guardrailConfiguration

      AgentSummary.Builder guardrailConfiguration(GuardrailConfiguration guardrailConfiguration)

      Details about the guardrail associated with the agent.

      Parameters:
      guardrailConfiguration - Details about the guardrail associated with the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • guardrailConfiguration

      default AgentSummary.Builder guardrailConfiguration(Consumer<GuardrailConfiguration.Builder> guardrailConfiguration)

      Details about the guardrail associated with the agent.

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

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

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

      AgentSummary.Builder latestAgentVersion(String latestAgentVersion)

      The latest version of the agent.

      Parameters:
      latestAgentVersion - The latest version of the agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      AgentSummary.Builder updatedAt(Instant updatedAt)

      The time at which the agent was last updated.

      Parameters:
      updatedAt - The time at which the agent was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.