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 method that creates an instance of theTextDetection.Builder avoiding the need to create
one manually via TextDetection.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
TextDetection.Builder#textDetections(java.util.Collection) DetectTextResponse.Builder textModelVersion(String textModelVersion)
The model version used to detect text.
textModelVersion - The model version used to detect text.Copyright © 2023. All rights reserved.