Interface EvaluatorSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluatorSummary.Builder,,EvaluatorSummary> SdkBuilder<EvaluatorSummary.Builder,,EvaluatorSummary> SdkPojo
- Enclosing class:
EvaluatorSummary
@Mutable
@NotThreadSafe
public static interface EvaluatorSummary.Builder
extends SdkPojo, CopyableBuilder<EvaluatorSummary.Builder,EvaluatorSummary>
-
Method Summary
Modifier and TypeMethodDescriptionevaluatorId(String evaluatorId) The unique identifier of the evaluator.default EvaluatorSummary.Builderstatistics(Consumer<EvaluatorStatistics.Builder> statistics) The aggregated statistics for this evaluator.statistics(EvaluatorStatistics statistics) The aggregated statistics for this evaluator.totalEvaluated(Integer totalEvaluated) The total number of sessions evaluated by this evaluator.totalFailed(Integer totalFailed) The total number of sessions that failed evaluation by this evaluator.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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 theEvaluatorStatistics.Builderavoiding the need to create one manually viaEvaluatorStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatistics(EvaluatorStatistics).- Parameters:
statistics- a consumer that will call methods onEvaluatorStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-