Interface EvaluatorSummary.Builder

  • Method Details

    • evaluatorId

      EvaluatorSummary.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.
    • statistics

      The aggregated statistics for this evaluator.

      Parameters:
      statistics - The aggregated statistics for this evaluator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statistics

      The aggregated statistics for this evaluator.

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

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

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

      EvaluatorSummary.Builder totalEvaluated(Integer totalEvaluated)

      The total number of sessions evaluated by this evaluator.

      Parameters:
      totalEvaluated - The total number of sessions evaluated by this evaluator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalFailed

      EvaluatorSummary.Builder totalFailed(Integer totalFailed)

      The total number of sessions that failed evaluation by this evaluator.

      Parameters:
      totalFailed - The total number of sessions that failed evaluation by this evaluator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.