public static interface GetTextDetectionResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetTextDetectionResponse.Builder,GetTextDetectionResponse>
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
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 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 #textDetections(List) .textDetections - a consumer that will call methods on List.Builder #textDetections(List) 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.Copyright © 2022. All rights reserved.