public static interface GetLabelDetectionResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetLabelDetectionResponse.Builder,GetLabelDetectionResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetLabelDetectionResponse.Builder |
getRequestMetadata(Consumer<GetLabelDetectionRequestMetadata.Builder> getRequestMetadata)
Information about the paramters used when getting a response.
|
GetLabelDetectionResponse.Builder |
getRequestMetadata(GetLabelDetectionRequestMetadata getRequestMetadata)
Information about the paramters used when getting a response.
|
GetLabelDetectionResponse.Builder |
jobId(String jobId)
Job identifier for the label detection operation for which you want to obtain results.
|
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 |
jobTag(String jobTag)
A job identifier specified in the call to StartLabelDetection and returned in the job completion notification
sent to your Amazon Simple Notification Service topic.
|
GetLabelDetectionResponse.Builder |
labelModelVersion(String labelModelVersion)
Version number of the label detection model that was used to detect labels.
|
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 |
video(Consumer<Video.Builder> video)
Sets the value of the Video property for this object.
|
GetLabelDetectionResponse.Builder |
video(Video video)
Sets the value of the Video property for this object.
|
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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetLabelDetectionResponse.Builder jobStatus(String jobStatus)
The current status of the label detection job.
jobStatus - The current status of the label detection job.VideoJobStatus,
VideoJobStatusGetLabelDetectionResponse.Builder jobStatus(VideoJobStatus jobStatus)
The current status of the label detection job.
jobStatus - The current status of the label detection job.VideoJobStatus,
VideoJobStatusGetLabelDetectionResponse.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.BuildervideoMetadata(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 method that creates an instance of theLabelDetection.Builder avoiding the need to create
one manually via LabelDetection.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #labels(List.
labels - a consumer that will call methods on
LabelDetection.Builder#labels(java.util.Collection) GetLabelDetectionResponse.Builder labelModelVersion(String labelModelVersion)
Version number of the label detection model that was used to detect labels.
labelModelVersion - Version number of the label detection model that was used to detect labels.GetLabelDetectionResponse.Builder jobId(String jobId)
Job identifier for the label detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartLabelDetection.
jobId - Job identifier for the label detection operation for which you want to obtain results. The job
identifer is returned by an initial call to StartLabelDetection.GetLabelDetectionResponse.Builder video(Video video)
video - The new value for the Video property for this object.default GetLabelDetectionResponse.Builder video(Consumer<Video.Builder> video)
Video.Builder avoiding the need to
create one manually via Video.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to video(Video).
video - a consumer that will call methods on Video.Buildervideo(Video)GetLabelDetectionResponse.Builder jobTag(String jobTag)
A job identifier specified in the call to StartLabelDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
jobTag - A job identifier specified in the call to StartLabelDetection and returned in the job completion
notification sent to your Amazon Simple Notification Service topic.GetLabelDetectionResponse.Builder getRequestMetadata(GetLabelDetectionRequestMetadata getRequestMetadata)
Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.
getRequestMetadata - Information about the paramters used when getting a response. Includes information on aggregation and
sorting methods.default GetLabelDetectionResponse.Builder getRequestMetadata(Consumer<GetLabelDetectionRequestMetadata.Builder> getRequestMetadata)
Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.
This is a convenience method that creates an instance of theGetLabelDetectionRequestMetadata.Builder
avoiding the need to create one manually via GetLabelDetectionRequestMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to getRequestMetadata(GetLabelDetectionRequestMetadata).
getRequestMetadata - a consumer that will call methods on GetLabelDetectionRequestMetadata.BuildergetRequestMetadata(GetLabelDetectionRequestMetadata)Copyright © 2023. All rights reserved.