Interface ModerationLabel.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ModerationLabel.Builder,,- ModerationLabel> - SdkBuilder<ModerationLabel.Builder,,- ModerationLabel> - SdkPojo
- Enclosing class:
- ModerationLabel
@Mutable
@NotThreadSafe
public static interface ModerationLabel.Builder
extends SdkPojo, CopyableBuilder<ModerationLabel.Builder,ModerationLabel> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
confidenceSpecifies 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 to- DetectModerationLabels, 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.
 
- 
nameThe 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.
 
- 
parentNameThe 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.
 
- 
taxonomyLevelThe 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.
 
 
-