public static interface DetectModerationLabelsResponse.Builder extends RekognitionResponse.Builder, CopyableBuilder<DetectModerationLabelsResponse.Builder,DetectModerationLabelsResponse>
Modifier and Type | Method and Description |
---|---|
DetectModerationLabelsResponse.Builder |
moderationLabels(Collection<ModerationLabel> moderationLabels)
An array of labels for explicit or suggestive adult content found in the image.
|
DetectModerationLabelsResponse.Builder |
moderationLabels(Consumer<ModerationLabel.Builder>... 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.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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.
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(Consumer<ModerationLabel.Builder>... 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.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #moderationLabels(List)
.moderationLabels
- a consumer that will call methods on List.Builder
#moderationLabels(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.