Interface EvaluationJobResults.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationJobResults.Builder,,EvaluationJobResults> SdkBuilder<EvaluationJobResults.Builder,,EvaluationJobResults> SdkPojo
- Enclosing class:
EvaluationJobResults
@Mutable
@NotThreadSafe
public static interface EvaluationJobResults.Builder
extends SdkPojo, CopyableBuilder<EvaluationJobResults.Builder,EvaluationJobResults>
-
Method Summary
Modifier and TypeMethodDescriptionevaluatorSummaries(Collection<EvaluatorSummary> evaluatorSummaries) A list of per-evaluator summary statistics.evaluatorSummaries(Consumer<EvaluatorSummary.Builder>... evaluatorSummaries) A list of per-evaluator summary statistics.evaluatorSummaries(EvaluatorSummary... evaluatorSummaries) A list of per-evaluator summary statistics.numberOfSessionsCompleted(Integer numberOfSessionsCompleted) The number of sessions that have been successfully evaluated.numberOfSessionsFailed(Integer numberOfSessionsFailed) The number of sessions that failed evaluation.numberOfSessionsIgnored(Integer numberOfSessionsIgnored) The number of sessions that were ignored during evaluation.numberOfSessionsInProgress(Integer numberOfSessionsInProgress) The number of sessions currently being evaluated.totalNumberOfSessions(Integer totalNumberOfSessions) The total number of sessions included in the batch evaluation.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
-
numberOfSessionsCompleted
The number of sessions that have been successfully evaluated.
- Parameters:
numberOfSessionsCompleted- The number of sessions that have been successfully evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfSessionsInProgress
The number of sessions currently being evaluated.
- Parameters:
numberOfSessionsInProgress- The number of sessions currently being evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfSessionsFailed
The number of sessions that failed evaluation.
- Parameters:
numberOfSessionsFailed- The number of sessions that failed evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalNumberOfSessions
The total number of sessions included in the batch evaluation.
- Parameters:
totalNumberOfSessions- The total number of sessions included in the batch evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfSessionsIgnored
The number of sessions that were ignored during evaluation.
- Parameters:
numberOfSessionsIgnored- The number of sessions that were ignored during evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatorSummaries
A list of per-evaluator summary statistics.
- Parameters:
evaluatorSummaries- A list of per-evaluator summary statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatorSummaries
A list of per-evaluator summary statistics.
- Parameters:
evaluatorSummaries- A list of per-evaluator summary statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatorSummaries
EvaluationJobResults.Builder evaluatorSummaries(Consumer<EvaluatorSummary.Builder>... evaluatorSummaries) A list of per-evaluator summary statistics.
This is a convenience method that creates an instance of theEvaluatorSummary.Builderavoiding the need to create one manually viaEvaluatorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluatorSummaries(List<EvaluatorSummary>).- Parameters:
evaluatorSummaries- a consumer that will call methods onEvaluatorSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-