public static interface DetectTextResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DetectTextResponse.Builder,DetectTextResponse>
| Modifier and Type | Method and Description |
|---|---|
DetectTextResponse.Builder |
textDetections(Collection<TextDetection> textDetections)
An array of text that was detected in the input image.
|
DetectTextResponse.Builder |
textDetections(Consumer<TextDetection.Builder>... textDetections)
An array of text that was detected in the input image.
|
DetectTextResponse.Builder |
textDetections(TextDetection... textDetections)
An array of text that was detected in the input image.
|
DetectTextResponse.Builder |
textModelVersion(String textModelVersion)
The model version used to detect text.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectTextResponse.Builder textDetections(Collection<TextDetection> textDetections)
An array of text that was detected in the input image.
textDetections - An array of text that was detected in the input image.DetectTextResponse.Builder textDetections(TextDetection... textDetections)
An array of text that was detected in the input image.
textDetections - An array of text that was detected in the input image.DetectTextResponse.Builder textDetections(Consumer<TextDetection.Builder>... textDetections)
An array of text that was detected in the input image.
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) DetectTextResponse.Builder textModelVersion(String textModelVersion)
The model version used to detect text.
textModelVersion - The model version used to detect text.Copyright © 2022. All rights reserved.