Interface RejectRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RejectRule.Builder,
,RejectRule> SdkBuilder<RejectRule.Builder,
,RejectRule> SdkPojo
- Enclosing class:
RejectRule
@Mutable
@NotThreadSafe
public static interface RejectRule.Builder
extends SdkPojo, CopyableBuilder<RejectRule.Builder,RejectRule>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether you want to reject the top prediction for all targets or none.rule
(RejectRuleBehavior rule) Specifies whether you want to reject the top prediction for all targets or none.The confidence score that specifies the condition at which a prediction can be rejected.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
rule
Specifies whether you want to reject the top prediction for all targets or none.
- Parameters:
rule
- Specifies whether you want to reject the top prediction for all targets or none.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rule
Specifies whether you want to reject the top prediction for all targets or none.
- Parameters:
rule
- Specifies whether you want to reject the top prediction for all targets or none.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
threshold
The confidence score that specifies the condition at which a prediction can be rejected.
- Parameters:
threshold
- The confidence score that specifies the condition at which a prediction can be rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-