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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModerationLabel.Builderconfidence(Float confidence)Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.ModerationLabel.Buildername(String name)The label name for the type of unsafe content detected in the image.ModerationLabel.BuilderparentName(String parentName)The name for the parent label.ModerationLabel.BuildertaxonomyLevel(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
confidence
ModerationLabel.Builder confidence(Float confidence)
Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.
If you don't specify the
MinConfidenceparameter 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
MinConfidenceparameter 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
ModerationLabel.Builder name(String 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
ModerationLabel.Builder parentName(String 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
ModerationLabel.Builder taxonomyLevel(Integer 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.
-
-