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.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DetectTextResponse.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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.