@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()
An array of labels for explicit or suggestive adult content found in the image.
|
int |
hashCode() |
void |
setModerationLabels(Collection<ModerationLabel> moderationLabels)
An array 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)
An array of labels for explicit or suggestive adult content found in the image.
|
DetectModerationLabelsResult |
withModerationLabels(ModerationLabel... moderationLabels)
An array of labels for explicit or suggestive adult content found in the image.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ModerationLabel> getModerationLabels()
An array 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)
An array 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
- An array 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)
An array 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
- An array 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)
An array 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
- An array 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 Object
Object.toString()
public DetectModerationLabelsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.