public static interface GetTextDetectionResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetTextDetectionResponse.Builder,GetTextDetectionResponse>
| Modifier and Type | Method and Description |
|---|---|
GetTextDetectionResponse.Builder |
jobId(String jobId)
Job identifier for the text detection operation for which you want to obtain results.
|
GetTextDetectionResponse.Builder |
jobStatus(String jobStatus)
Current status of the text detection job.
|
GetTextDetectionResponse.Builder |
jobStatus(VideoJobStatus jobStatus)
Current status of the text detection job.
|
GetTextDetectionResponse.Builder |
jobTag(String jobTag)
A job identifier specified in the call to StartTextDetection and returned in the job completion notification
sent to your Amazon Simple Notification Service topic.
|
GetTextDetectionResponse.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 text.
|
GetTextDetectionResponse.Builder |
statusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
GetTextDetectionResponse.Builder |
textDetections(Collection<TextDetectionResult> textDetections)
An array of text detected in the video.
|
GetTextDetectionResponse.Builder |
textDetections(Consumer<TextDetectionResult.Builder>... textDetections)
An array of text detected in the video.
|
GetTextDetectionResponse.Builder |
textDetections(TextDetectionResult... textDetections)
An array of text detected in the video.
|
GetTextDetectionResponse.Builder |
textModelVersion(String textModelVersion)
Version number of the text detection model that was used to detect text.
|
default GetTextDetectionResponse.Builder |
video(Consumer<Video.Builder> video)
Sets the value of the Video property for this object.
|
GetTextDetectionResponse.Builder |
video(Video video)
Sets the value of the Video property for this object.
|
default GetTextDetectionResponse.Builder |
videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
Sets the value of the VideoMetadata property for this object.
|
GetTextDetectionResponse.Builder |
videoMetadata(VideoMetadata videoMetadata)
Sets the value of the VideoMetadata property for this object.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetTextDetectionResponse.Builder jobStatus(String jobStatus)
Current status of the text detection job.
jobStatus - Current status of the text detection job.VideoJobStatus,
VideoJobStatusGetTextDetectionResponse.Builder jobStatus(VideoJobStatus jobStatus)
Current status of the text detection job.
jobStatus - Current status of the text detection job.VideoJobStatus,
VideoJobStatusGetTextDetectionResponse.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.GetTextDetectionResponse.Builder videoMetadata(VideoMetadata videoMetadata)
videoMetadata - The new value for the VideoMetadata property for this object.default GetTextDetectionResponse.Builder videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
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)GetTextDetectionResponse.Builder textDetections(Collection<TextDetectionResult> textDetections)
An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
textDetections - An array of text detected in the video. Each element contains the detected text, the time in
milliseconds from the start of the video that the text was detected, and where it was detected on the
screen.GetTextDetectionResponse.Builder textDetections(TextDetectionResult... textDetections)
An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
textDetections - An array of text detected in the video. Each element contains the detected text, the time in
milliseconds from the start of the video that the text was detected, and where it was detected on the
screen.GetTextDetectionResponse.Builder textDetections(Consumer<TextDetectionResult.Builder>... textDetections)
An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
This is a convenience method that creates an instance of theTextDetectionResult.Builder avoiding the need to
create one manually via
TextDetectionResult.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #textDetections(List.
textDetections - a consumer that will call methods on
TextDetectionResult.Builder#textDetections(java.util.Collection) GetTextDetectionResponse.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 text.
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 text.GetTextDetectionResponse.Builder textModelVersion(String textModelVersion)
Version number of the text detection model that was used to detect text.
textModelVersion - Version number of the text detection model that was used to detect text.GetTextDetectionResponse.Builder jobId(String jobId)
Job identifier for the text detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartTextDetection.
jobId - Job identifier for the text detection operation for which you want to obtain results. The job
identifer is returned by an initial call to StartTextDetection.GetTextDetectionResponse.Builder video(Video video)
video - The new value for the Video property for this object.default GetTextDetectionResponse.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)GetTextDetectionResponse.Builder jobTag(String jobTag)
A job identifier specified in the call to StartTextDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
jobTag - A job identifier specified in the call to StartTextDetection and returned in the job completion
notification sent to your Amazon Simple Notification Service topic.Copyright © 2023. All rights reserved.