Interface AgentVersionSummary.Builder

  • Method Details

    • agentName

      AgentVersionSummary.Builder agentName(String agentName)

      The name of the agent to which the version belongs.

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

      AgentVersionSummary.Builder agentStatus(String agentStatus)

      The status of the agent to which the version belongs.

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

      AgentVersionSummary.Builder agentStatus(AgentStatus agentStatus)

      The status of the agent to which the version belongs.

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

      AgentVersionSummary.Builder agentVersion(String agentVersion)

      The version of the agent.

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

      AgentVersionSummary.Builder createdAt(Instant createdAt)

      The time at which the version was created.

      Parameters:
      createdAt - The time at which the version was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      AgentVersionSummary.Builder description(String description)

      The description of the version of the agent.

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

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

      AgentVersionSummary.Builder updatedAt(Instant updatedAt)

      The time at which the version was last updated.

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