Interface EvaluatorMetric.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluatorMetric.Builder,,EvaluatorMetric> SdkBuilder<EvaluatorMetric.Builder,,EvaluatorMetric> SdkPojo
- Enclosing class:
EvaluatorMetric
@Mutable
@NotThreadSafe
public static interface EvaluatorMetric.Builder
extends SdkPojo, CopyableBuilder<EvaluatorMetric.Builder,EvaluatorMetric>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EvaluatorMetric.BuildercontrolStats(Consumer<ControlStats.Builder> controlStats) The statistics for the control variant.controlStats(ControlStats controlStats) The statistics for the control variant.evaluatorArn(String evaluatorArn) The Amazon Resource Name (ARN) of the evaluator.variantResults(Collection<VariantResult> variantResults) The results for each treatment variant compared against the control.variantResults(Consumer<VariantResult.Builder>... variantResults) The results for each treatment variant compared against the control.variantResults(VariantResult... variantResults) The results for each treatment variant compared against the control.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
-
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.
-
controlStats
The statistics for the control variant.
- Parameters:
controlStats- The statistics for the control variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlStats
The statistics for the control variant.
This is a convenience method that creates an instance of theControlStats.Builderavoiding the need to create one manually viaControlStats.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrolStats(ControlStats).- Parameters:
controlStats- a consumer that will call methods onControlStats.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
variantResults
The results for each treatment variant compared against the control.
- Parameters:
variantResults- The results for each treatment variant compared against the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantResults
The results for each treatment variant compared against the control.
- Parameters:
variantResults- The results for each treatment variant compared against the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantResults
The results for each treatment variant compared against the control.
This is a convenience method that creates an instance of theVariantResult.Builderavoiding the need to create one manually viaVariantResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovariantResults(List<VariantResult>).- Parameters:
variantResults- a consumer that will call methods onVariantResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-