Interface SampleRequest.Builder

  • Method Details

    • jobArn

      SampleRequest.Builder jobArn(String jobArn)

      The job ARN that identifies which model session to route the inference request to.

      Parameters:
      jobArn - The job ARN that identifies which model session to route the inference request to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trajectoryId

      SampleRequest.Builder trajectoryId(String trajectoryId)

      The trajectory ID for grouping turns into a single rollout. Each turn (prompt and response) is captured for later use.

      Parameters:
      trajectoryId - The trajectory ID for grouping turns into a single rollout. Each turn (prompt and response) is captured for later use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • body

      The raw inference request body in OpenAI-compatible JSON format.

      Parameters:
      body - The raw inference request body in OpenAI-compatible JSON format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      SampleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.