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