CopyableBuilder<DetectModerationLabelsResponse.Builder,DetectModerationLabelsResponse>
, SdkBuilder<DetectModerationLabelsResponse.Builder,DetectModerationLabelsResponse>
public static interface DetectModerationLabelsResponse.Builder extends CopyableBuilder<DetectModerationLabelsResponse.Builder,DetectModerationLabelsResponse>
Modifier and Type | Method | Description |
---|---|---|
DetectModerationLabelsResponse.Builder |
moderationLabels(Collection<ModerationLabel> moderationLabels) |
An array of labels for explicit or suggestive adult content found in the image.
|
DetectModerationLabelsResponse.Builder |
moderationLabels(ModerationLabel... moderationLabels) |
An array of labels for explicit or suggestive adult content found in the image.
|
copy
apply, build
DetectModerationLabelsResponse.Builder moderationLabels(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.DetectModerationLabelsResponse.Builder moderationLabels(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.