@Generated(value="software.amazon.awssdk:codegen") public final class ModerationLabel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModerationLabel.Builder,ModerationLabel>
Provides information about a single type of moderated content found in an image or video. Each type of moderated content has a label within a hierarchical taxonomy. For more information, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModerationLabel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ModerationLabel.Builder |
builder() |
Float |
confidence()
Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The label name for the type of content detected in the image.
|
String |
parentName()
The name for the parent label.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModerationLabel.Builder> |
serializableBuilderClass() |
ModerationLabel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
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.
public String name()
The label name for the type of content detected in the image.
public String parentName()
The name for the parent label. Labels at the top level of the hierarchy have the parent label "".
"".public ModerationLabel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModerationLabel.Builder,ModerationLabel>public static ModerationLabel.Builder builder()
public static Class<? extends ModerationLabel.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.