public static interface ContentModerationDetection.Builder extends SdkPojo, CopyableBuilder<ContentModerationDetection.Builder,ContentModerationDetection>
Modifier and Type | Method and Description |
---|---|
default ContentModerationDetection.Builder |
moderationLabel(Consumer<ModerationLabel.Builder> moderationLabel)
The moderation label detected by in the stored video.
|
ContentModerationDetection.Builder |
moderationLabel(ModerationLabel moderationLabel)
The moderation label detected by in the stored video.
|
ContentModerationDetection.Builder |
timestamp(Long timestamp)
Time, in milliseconds from the beginning of the video, that the moderation label was detected.
|
copy
applyMutation, build
ContentModerationDetection.Builder timestamp(Long timestamp)
Time, in milliseconds from the beginning of the video, that the moderation label was detected.
timestamp
- Time, in milliseconds from the beginning of the video, that the moderation label was detected.ContentModerationDetection.Builder moderationLabel(ModerationLabel moderationLabel)
The moderation label detected by in the stored video.
moderationLabel
- The moderation label detected by in the stored video.default ContentModerationDetection.Builder moderationLabel(Consumer<ModerationLabel.Builder> moderationLabel)
The moderation label detected by in the stored video.
This is a convenience that creates an instance of theModerationLabel.Builder
avoiding the need to
create one manually via ModerationLabel.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to moderationLabel(ModerationLabel)
.moderationLabel
- a consumer that will call methods on ModerationLabel.Builder
moderationLabel(ModerationLabel)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.