Interface VerdictCheck.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VerdictCheck.Builder,,VerdictCheck> SdkBuilder<VerdictCheck.Builder,,VerdictCheck> SdkPojo
- Enclosing class:
VerdictCheck
-
Method Summary
Modifier and TypeMethodDescriptiondefault VerdictCheck.Builderbound(Consumer<GateBound.Builder> bound) The gate's bound.The gate's bound.controlObserved(Double controlObserved) The control's value of the metric.Whether this check decided a FAILED verdict.The change from the control, in the bound's mode, signed so that positive is better.default VerdictCheck.Buildermetric(Consumer<RunMetric.Builder> metric) The gate's metric.The gate's metric.The metric's value for this run.observedByEvaluator(Collection<EvaluatorCount> observedByEvaluator) The regressed scores for each evaluator: one entry for each evaluator both runs have on which the target scored at least one case worse than the control.observedByEvaluator(Consumer<EvaluatorCount.Builder>... observedByEvaluator) The regressed scores for each evaluator: one entry for each evaluator both runs have on which the target scored at least one case worse than the control.observedByEvaluator(EvaluatorCount... observedByEvaluator) The regressed scores for each evaluator: one entry for each evaluator both runs have on which the target scored at least one case worse than the control.Whether the gate held.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
-
metric
The gate's metric.
- Parameters:
metric- The gate's metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metric
The gate's metric.
This is a convenience method that creates an instance of theRunMetric.Builderavoiding the need to create one manually viaRunMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometric(RunMetric).- Parameters:
metric- a consumer that will call methods onRunMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bound
The gate's bound. Absent for regressedScores, which takes none.
- Parameters:
bound- The gate's bound. Absent for regressedScores, which takes none.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bound
The gate's bound. Absent for regressedScores, which takes none.
This is a convenience method that creates an instance of theGateBound.Builderavoiding the need to create one manually viaGateBound.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobound(GateBound).- Parameters:
bound- a consumer that will call methods onGateBound.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
observed
The metric's value for this run.
- Parameters:
observed- The metric's value for this run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controlObserved
The control's value of the metric. Present for vsControl checks.
- Parameters:
controlObserved- The control's value of the metric. Present for vsControl checks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delta
The change from the control, in the bound's mode, signed so that positive is better. Absent when the change is not finite, such as in RATIO mode against a control value of 0.
- Parameters:
delta- The change from the control, in the bound's mode, signed so that positive is better. Absent when the change is not finite, such as in RATIO mode against a control value of 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passed
Whether the gate held.
- Parameters:
passed- Whether the gate held.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decisive
Whether this check decided a FAILED verdict.
- Parameters:
decisive- Whether this check decided a FAILED verdict.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
observedByEvaluator
The regressed scores for each evaluator: one entry for each evaluator both runs have on which the target scored at least one case worse than the control. Present only on a regressedScores check, where it's empty when nothing regressed.
- Parameters:
observedByEvaluator- The regressed scores for each evaluator: one entry for each evaluator both runs have on which the target scored at least one case worse than the control. Present only on a regressedScores check, where it's empty when nothing regressed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
observedByEvaluator
The regressed scores for each evaluator: one entry for each evaluator both runs have on which the target scored at least one case worse than the control. Present only on a regressedScores check, where it's empty when nothing regressed.
- Parameters:
observedByEvaluator- The regressed scores for each evaluator: one entry for each evaluator both runs have on which the target scored at least one case worse than the control. Present only on a regressedScores check, where it's empty when nothing regressed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
observedByEvaluator
The regressed scores for each evaluator: one entry for each evaluator both runs have on which the target scored at least one case worse than the control. Present only on a regressedScores check, where it's empty when nothing regressed.
This is a convenience method that creates an instance of theEvaluatorCount.Builderavoiding the need to create one manually viaEvaluatorCount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobservedByEvaluator(List<EvaluatorCount>).- Parameters:
observedByEvaluator- a consumer that will call methods onEvaluatorCount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-