Interface GetEvaluatorResponse.Builder

  • Method Details

    • evaluatorArn

      GetEvaluatorResponse.Builder evaluatorArn(String evaluatorArn)

      The Amazon Resource Name (ARN) of the evaluator.

      Parameters:
      evaluatorArn - The Amazon Resource Name (ARN) of the evaluator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluatorId

      GetEvaluatorResponse.Builder evaluatorId(String evaluatorId)

      The unique identifier of the evaluator.

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

      GetEvaluatorResponse.Builder evaluatorName(String evaluatorName)

      The name of the evaluator.

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

      GetEvaluatorResponse.Builder description(String description)

      The description of the evaluator.

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

      GetEvaluatorResponse.Builder evaluatorConfig(EvaluatorConfig evaluatorConfig)

      The configuration of the evaluator, including LLM-as-a-Judge settings for custom evaluators.

      Parameters:
      evaluatorConfig - The configuration of the evaluator, including LLM-as-a-Judge settings for custom evaluators.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluatorConfig

      default GetEvaluatorResponse.Builder evaluatorConfig(Consumer<EvaluatorConfig.Builder> evaluatorConfig)

      The configuration of the evaluator, including LLM-as-a-Judge settings for custom evaluators.

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

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

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

      The evaluation level (TOOL_CALL, TRACE, or SESSION) that determines the scope of evaluation.

      Parameters:
      level - The evaluation level (TOOL_CALL, TRACE, or SESSION) that determines the scope of evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • level

      The evaluation level (TOOL_CALL, TRACE, or SESSION) that determines the scope of evaluation.

      Parameters:
      level - The evaluation level (TOOL_CALL, TRACE, or SESSION) that determines the scope of evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the evaluator.

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

      The current status of the evaluator.

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

      GetEvaluatorResponse.Builder createdAt(Instant createdAt)

      The timestamp when the evaluator was created.

      Parameters:
      createdAt - The timestamp when the evaluator was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      GetEvaluatorResponse.Builder updatedAt(Instant updatedAt)

      The timestamp when the evaluator was last updated.

      Parameters:
      updatedAt - The timestamp when the evaluator was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lockedForModification

      GetEvaluatorResponse.Builder lockedForModification(Boolean lockedForModification)

      Whether the evaluator is locked for modification due to being referenced by active online evaluation configurations.

      Parameters:
      lockedForModification - Whether the evaluator is locked for modification due to being referenced by active online evaluation configurations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.