Interface AcceptRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AcceptRule.Builder,AcceptRule>,SdkBuilder<AcceptRule.Builder,AcceptRule>,SdkPojo
- Enclosing class:
- AcceptRule
public static interface AcceptRule.Builder extends SdkPojo, CopyableBuilder<AcceptRule.Builder,AcceptRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AcceptRule.Builderrule(String rule)Specifies whether you want to accept the top prediction for all targets or none.AcceptRule.Builderrule(AcceptRuleBehavior rule)Specifies whether you want to accept the top prediction for all targets or none.AcceptRule.Builderthreshold(Float threshold)The confidence score that specifies the condition at which a prediction can be accepted.-
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, sdkFields
-
-
-
-
Method Detail
-
rule
AcceptRule.Builder rule(String rule)
Specifies whether you want to accept the top prediction for all targets or none.
- Parameters:
rule- Specifies whether you want to accept 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:
AcceptRuleBehavior,AcceptRuleBehavior
-
rule
AcceptRule.Builder rule(AcceptRuleBehavior rule)
Specifies whether you want to accept the top prediction for all targets or none.
- Parameters:
rule- Specifies whether you want to accept 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:
AcceptRuleBehavior,AcceptRuleBehavior
-
threshold
AcceptRule.Builder threshold(Float threshold)
The confidence score that specifies the condition at which a prediction can be accepted.
- Parameters:
threshold- The confidence score that specifies the condition at which a prediction can be accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-