public static interface DetectModerationLabelsResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DetectModerationLabelsResponse.Builder,DetectModerationLabelsResponse>
Modifier and Type | Method and Description |
---|---|
DetectModerationLabelsResponse.Builder |
moderationLabels(Collection<ModerationLabel> moderationLabels)
Array of detected Moderation labels and the time, in millseconds from the start of the video, they were
detected.
|
DetectModerationLabelsResponse.Builder |
moderationLabels(Consumer<ModerationLabel.Builder>... moderationLabels)
Array of detected Moderation labels and the time, in millseconds from the start of the video, they were
detected.
|
DetectModerationLabelsResponse.Builder |
moderationLabels(ModerationLabel... moderationLabels)
Array of detected Moderation labels and the time, in millseconds from the start of the video, they were
detected.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DetectModerationLabelsResponse.Builder moderationLabels(Collection<ModerationLabel> moderationLabels)
Array of detected Moderation labels and the time, in millseconds from the start of the video, they were detected.
moderationLabels
- Array of detected Moderation labels and the time, in millseconds from the start of the video, they
were detected.DetectModerationLabelsResponse.Builder moderationLabels(ModerationLabel... moderationLabels)
Array of detected Moderation labels and the time, in millseconds from the start of the video, they were detected.
moderationLabels
- Array of detected Moderation labels and the time, in millseconds from the start of the video, they
were detected.DetectModerationLabelsResponse.Builder moderationLabels(Consumer<ModerationLabel.Builder>... moderationLabels)
Array of detected Moderation labels and the time, in millseconds from the start of the video, they were detected.
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.