Interface GateBound.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GateBound.Builder,,GateBound> SdkBuilder<GateBound.Builder,,GateBound> SdkPojo
- Enclosing class:
GateBound
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum value of the metric.The minimum value of the metric.default GateBound.BuildervsControl(Consumer<ControlBound.Builder> vsControl) A bound relative to the control's value of the same metric, both over the cases both runs have: passRate and notScoredRate judged by the rule's criteria on the evaluators both runs have, evaluatorAverage over the cases both runs scored on it.vsControl(ControlBound vsControl) A bound relative to the control's value of the same metric, both over the cases both runs have: passRate and notScoredRate judged by the rule's criteria on the evaluators both runs have, evaluatorAverage over the cases both runs scored on it.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
-
min
The minimum value of the metric. A finite number from 0 to 1 for a rate, or from -1e9 to 1e9 for an evaluator average.
- Parameters:
min- The minimum value of the metric. A finite number from 0 to 1 for a rate, or from -1e9 to 1e9 for an evaluator average.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
max
The maximum value of the metric. A finite number from 0 to 1.
- Parameters:
max- The maximum value of the metric. A finite number from 0 to 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vsControl
A bound relative to the control's value of the same metric, both over the cases both runs have: passRate and notScoredRate judged by the rule's criteria on the evaluators both runs have, evaluatorAverage over the cases both runs scored on it. A check with nothing to compare (an evaluator the control doesn't have, or no such cases) is skipped and left out of the checks. Not valid on regressedCases, fixedCases, regressedScores or unpairedCaseRate, which already compare with the control (RULE_BOUND_INVALID). Requires a control (RULE_CONTROL_REQUIRED).
- Parameters:
vsControl- A bound relative to the control's value of the same metric, both over the cases both runs have: passRate and notScoredRate judged by the rule's criteria on the evaluators both runs have, evaluatorAverage over the cases both runs scored on it. A check with nothing to compare (an evaluator the control doesn't have, or no such cases) is skipped and left out of the checks. Not valid on regressedCases, fixedCases, regressedScores or unpairedCaseRate, which already compare with the control (RULE_BOUND_INVALID). Requires a control (RULE_CONTROL_REQUIRED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vsControl
A bound relative to the control's value of the same metric, both over the cases both runs have: passRate and notScoredRate judged by the rule's criteria on the evaluators both runs have, evaluatorAverage over the cases both runs scored on it. A check with nothing to compare (an evaluator the control doesn't have, or no such cases) is skipped and left out of the checks. Not valid on regressedCases, fixedCases, regressedScores or unpairedCaseRate, which already compare with the control (RULE_BOUND_INVALID). Requires a control (RULE_CONTROL_REQUIRED).
This is a convenience method that creates an instance of theControlBound.Builderavoiding the need to create one manually viaControlBound.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovsControl(ControlBound).- Parameters:
vsControl- a consumer that will call methods onControlBound.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-