Interface RuleThreshold.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleThreshold.Builder,,RuleThreshold> SdkBuilder<RuleThreshold.Builder,,RuleThreshold> SdkPojo
- Enclosing class:
RuleThreshold
@Mutable
@NotThreadSafe
public static interface RuleThreshold.Builder
extends SdkPojo, CopyableBuilder<RuleThreshold.Builder,RuleThreshold>
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum passing score, for a numeric evaluator whose scoreDirection is LOWER_IS_BETTER.The minimum passing score, for a numeric evaluator.passLabels(String... passLabels) The labels that pass, for a categorical evaluator.passLabels(Collection<String> passLabels) The labels that pass, for a categorical 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
-
minScore
The minimum passing score, for a numeric evaluator. A finite number from -1e9 to 1e9.
- Parameters:
minScore- The minimum passing score, for a numeric evaluator. A finite number from -1e9 to 1e9.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxScore
The maximum passing score, for a numeric evaluator whose scoreDirection is LOWER_IS_BETTER. A finite number from -1e9 to 1e9.
- Parameters:
maxScore- The maximum passing score, for a numeric evaluator whose scoreDirection is LOWER_IS_BETTER. A finite number from -1e9 to 1e9.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passLabels
The labels that pass, for a categorical evaluator. From 1 to 16 labels, each up to 256 characters.
- Parameters:
passLabels- The labels that pass, for a categorical evaluator. From 1 to 16 labels, each up to 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passLabels
The labels that pass, for a categorical evaluator. From 1 to 16 labels, each up to 256 characters.
- Parameters:
passLabels- The labels that pass, for a categorical evaluator. From 1 to 16 labels, each up to 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-