Interface AgentCoreRuntimeTarget.Builder

  • Method Details

    • endpointArn

      AgentCoreRuntimeTarget.Builder endpointArn(String endpointArn)

      The ARN of the runtime endpoint. Must belong to the experiment's runtimeArn.

      Parameters:
      endpointArn - The ARN of the runtime endpoint. Must belong to the experiment's runtimeArn.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestTemplate

      AgentCoreRuntimeTarget.Builder requestTemplate(String requestTemplate)

      The request sent to the agent for each turn, in the AgentCore datasetExecutionConfig format: a JSON object containing exactly one {{turn.input}} as a complete string value. The AgentCore default is {"prompt":"{{turn.input}}"}. An invalid template fails with a ValidationException.

      Parameters:
      requestTemplate - The request sent to the agent for each turn, in the AgentCore datasetExecutionConfig format: a JSON object containing exactly one {{turn.input}} as a complete string value. The AgentCore default is {"prompt":"{{turn.input}}"}. An invalid template fails with a ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The runtime version the endpoint pointed to. For hosted runs, output only and resolved when the run starts. Optional for reported runs.

      Parameters:
      version - The runtime version the endpoint pointed to. For hosted runs, output only and resolved when the run starts. Optional for reported runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.