public static interface ModerationLabel.Builder extends SdkPojo, CopyableBuilder<ModerationLabel.Builder,ModerationLabel>
Modifier and Type | Method and Description |
---|---|
ModerationLabel.Builder |
confidence(Float confidence)
Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.
|
ModerationLabel.Builder |
name(String name)
The label name for the type of content detected in the image.
|
ModerationLabel.Builder |
parentName(String parentName)
The name for the parent label.
|
copy
applyMutation, build
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 MinConfidence
parameter in the call to
DetectModerationLabels
, the operation returns labels with a confidence value greater than or
equal to 50 percent.
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 to
DetectModerationLabels
, the operation returns labels with a confidence value greater than
or equal to 50 percent.
ModerationLabel.Builder name(String name)
The label name for the type of content detected in the image.
name
- The label name for the type of content detected in the image.ModerationLabel.Builder parentName(String parentName)
The name for the parent label. Labels at the top level of the hierarchy have the parent label ""
.
parentName
- The name for the parent label. Labels at the top level of the hierarchy have the parent label
""
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.