@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectModerationLabelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DetectModerationLabelsResult() |
| Modifier and Type | Method and Description |
|---|---|
DetectModerationLabelsResult |
clone() |
boolean |
equals(Object obj) |
List<ModerationLabel> |
getModerationLabels()
A list of labels for explicit or suggestive adult content found in the image.
|
int |
hashCode() |
void |
setModerationLabels(Collection<ModerationLabel> moderationLabels)
A list of labels for explicit or suggestive adult content found in the image.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DetectModerationLabelsResult |
withModerationLabels(Collection<ModerationLabel> moderationLabels)
A list of labels for explicit or suggestive adult content found in the image.
|
DetectModerationLabelsResult |
withModerationLabels(ModerationLabel... moderationLabels)
A list of labels for explicit or suggestive adult content found in the image.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ModerationLabel> getModerationLabels()
A list of labels for explicit or suggestive adult content found in the image. The list includes the top-level label and each child label detected in the image. This is useful for filtering specific categories of content.
public void setModerationLabels(Collection<ModerationLabel> moderationLabels)
A list of labels for explicit or suggestive adult content found in the image. The list includes the top-level label and each child label detected in the image. This is useful for filtering specific categories of content.
moderationLabels - A list of labels for explicit or suggestive adult content found in the image. The list includes the
top-level label and each child label detected in the image. This is useful for filtering specific
categories of content.public DetectModerationLabelsResult withModerationLabels(ModerationLabel... moderationLabels)
A list of labels for explicit or suggestive adult content found in the image. The list includes the top-level label and each child label detected in the image. This is useful for filtering specific categories of content.
NOTE: This method appends the values to the existing list (if any). Use
setModerationLabels(java.util.Collection) or withModerationLabels(java.util.Collection) if you
want to override the existing values.
moderationLabels - A list of labels for explicit or suggestive adult content found in the image. The list includes the
top-level label and each child label detected in the image. This is useful for filtering specific
categories of content.public DetectModerationLabelsResult withModerationLabels(Collection<ModerationLabel> moderationLabels)
A list of labels for explicit or suggestive adult content found in the image. The list includes the top-level label and each child label detected in the image. This is useful for filtering specific categories of content.
moderationLabels - A list of labels for explicit or suggestive adult content found in the image. The list includes the
top-level label and each child label detected in the image. This is useful for filtering specific
categories of content.public String toString()
toString in class ObjectObject.toString()public DetectModerationLabelsResult clone()
Copyright © 2017. All rights reserved.