public static interface GetLabelDetectionResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetLabelDetectionResponse.Builder,GetLabelDetectionResponse>
Modifier and Type | Method and Description |
---|---|
GetLabelDetectionResponse.Builder |
jobStatus(String jobStatus)
The current status of the label detection job.
|
GetLabelDetectionResponse.Builder |
jobStatus(VideoJobStatus jobStatus)
The current status of the label detection job.
|
GetLabelDetectionResponse.Builder |
labels(Collection<LabelDetection> labels)
An array of labels detected in the video.
|
GetLabelDetectionResponse.Builder |
labels(Consumer<LabelDetection.Builder>... labels)
An array of labels detected in the video.
|
GetLabelDetectionResponse.Builder |
labels(LabelDetection... labels)
An array of labels detected in the video.
|
GetLabelDetectionResponse.Builder |
nextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent
request to retrieve the next set of labels.
|
GetLabelDetectionResponse.Builder |
statusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
default GetLabelDetectionResponse.Builder |
videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
|
GetLabelDetectionResponse.Builder |
videoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetLabelDetectionResponse.Builder jobStatus(String jobStatus)
The current status of the label detection job.
jobStatus
- The current status of the label detection job.VideoJobStatus
,
VideoJobStatus
GetLabelDetectionResponse.Builder jobStatus(VideoJobStatus jobStatus)
The current status of the label detection job.
jobStatus
- The current status of the label detection job.VideoJobStatus
,
VideoJobStatus
GetLabelDetectionResponse.Builder statusMessage(String statusMessage)
If the job fails, StatusMessage
provides a descriptive error message.
statusMessage
- If the job fails, StatusMessage
provides a descriptive error message.GetLabelDetectionResponse.Builder videoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed. Videometadata
is returned in
every page of paginated responses from a Amazon Rekognition video operation.
videoMetadata
- Information about a video that Amazon Rekognition Video analyzed. Videometadata
is
returned in every page of paginated responses from a Amazon Rekognition video operation.default GetLabelDetectionResponse.Builder videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
Information about a video that Amazon Rekognition Video analyzed. Videometadata
is returned in
every page of paginated responses from a Amazon Rekognition video operation.
VideoMetadata.Builder
avoiding the need to
create one manually via VideoMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to videoMetadata(VideoMetadata)
.videoMetadata
- a consumer that will call methods on VideoMetadata.Builder
videoMetadata(VideoMetadata)
GetLabelDetectionResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of labels.
nextToken
- If the response is truncated, Amazon Rekognition Video returns this token that you can use in the
subsequent request to retrieve the next set of labels.GetLabelDetectionResponse.Builder labels(Collection<LabelDetection> labels)
An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.
labels
- An array of labels detected in the video. Each element contains the detected label and the time, in
milliseconds from the start of the video, that the label was detected.GetLabelDetectionResponse.Builder labels(LabelDetection... labels)
An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.
labels
- An array of labels detected in the video. Each element contains the detected label and the time, in
milliseconds from the start of the video, that the label was detected.GetLabelDetectionResponse.Builder labels(Consumer<LabelDetection.Builder>... labels)
An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was 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 #labels(List)
.labels
- a consumer that will call methods on List.Builder
#labels(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.