Interface ModerationLabel.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ModerationLabel.Builder,
,ModerationLabel> SdkBuilder<ModerationLabel.Builder,
,ModerationLabel> SdkPojo
- Enclosing class:
ModerationLabel
public static interface ModerationLabel.Builder
extends SdkPojo, CopyableBuilder<ModerationLabel.Builder,ModerationLabel>
-
Method Summary
Modifier and TypeMethodDescriptionconfidence
(Float confidence) Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.The label name for the type of unsafe content detected in the image.parentName
(String parentName) The name for the parent label.taxonomyLevel
(Integer taxonomyLevel) The level of the moderation label with regard to its taxonomy, from 1 to 3.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 Details
-
confidence
Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.
If you don't specify the
MinConfidence
parameter in the call toDetectModerationLabels
, the operation returns labels with a confidence value greater than or equal to 50 percent.- Parameters:
confidence
- Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.If you don't specify the
MinConfidence
parameter in the call toDetectModerationLabels
, the operation returns labels with a confidence value greater than or equal to 50 percent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The label name for the type of unsafe content detected in the image.
- Parameters:
name
- The label name for the type of unsafe content detected in the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentName
The name for the parent label. Labels at the top level of the hierarchy have the parent label
""
.- Parameters:
parentName
- The name for the parent label. Labels at the top level of the hierarchy have the parent label""
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxonomyLevel
The level of the moderation label with regard to its taxonomy, from 1 to 3.
- Parameters:
taxonomyLevel
- The level of the moderation label with regard to its taxonomy, from 1 to 3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-