Interface ToxicContent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ToxicContent.Builder,ToxicContent>,SdkBuilder<ToxicContent.Builder,ToxicContent>,SdkPojo
- Enclosing class:
- ToxicContent
public static interface ToxicContent.Builder extends SdkPojo, CopyableBuilder<ToxicContent.Builder,ToxicContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ToxicContent.Buildername(String name)The name of the toxic content type.ToxicContent.Buildername(ToxicContentType name)The name of the toxic content type.ToxicContent.Builderscore(Float score)Model confidence in the detected content type.-
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
-
name
ToxicContent.Builder name(String name)
The name of the toxic content type.
- Parameters:
name- The name of the toxic content type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ToxicContentType,ToxicContentType
-
name
ToxicContent.Builder name(ToxicContentType name)
The name of the toxic content type.
- Parameters:
name- The name of the toxic content type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ToxicContentType,ToxicContentType
-
score
ToxicContent.Builder score(Float score)
Model confidence in the detected content type. Value range is zero to one, where one is highest confidence.
- Parameters:
score- Model confidence in the detected content type. Value range is zero to one, where one is highest confidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-