public static interface DetectTextRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<DetectTextRequest.Builder,DetectTextRequest>
Modifier and Type | Method and Description |
---|---|
default DetectTextRequest.Builder |
filters(Consumer<DetectTextFilters.Builder> filters)
Optional parameters that let you set the criteria that the text must meet to be included in your response.
|
DetectTextRequest.Builder |
filters(DetectTextFilters filters)
Optional parameters that let you set the criteria that the text must meet to be included in your response.
|
default DetectTextRequest.Builder |
image(Consumer<Image.Builder> image)
The input image as base64-encoded bytes or an Amazon S3 object.
|
DetectTextRequest.Builder |
image(Image image)
The input image as base64-encoded bytes or an Amazon S3 object.
|
DetectTextRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DetectTextRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DetectTextRequest.Builder image(Image image)
The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes
field. For more information, see Images in the Amazon Rekognition
developer guide.
image
- The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon
Rekognition operations, you can't pass image bytes.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image
bytes passed using the Bytes
field. For more information, see Images in the Amazon
Rekognition developer guide.
default DetectTextRequest.Builder image(Consumer<Image.Builder> image)
The input image as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Rekognition operations, you can't pass image bytes.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes
field. For more information, see Images in the Amazon Rekognition
developer guide.
Image.Builder
avoiding the need to create one
manually via Image.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to image(Image)
.image
- a consumer that will call methods on Image.Builder
image(Image)
DetectTextRequest.Builder filters(DetectTextFilters filters)
Optional parameters that let you set the criteria that the text must meet to be included in your response.
filters
- Optional parameters that let you set the criteria that the text must meet to be included in your
response.default DetectTextRequest.Builder filters(Consumer<DetectTextFilters.Builder> filters)
Optional parameters that let you set the criteria that the text must meet to be included in your response.
This is a convenience that creates an instance of theDetectTextFilters.Builder
avoiding the need to
create one manually via DetectTextFilters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to filters(DetectTextFilters)
.filters
- a consumer that will call methods on DetectTextFilters.Builder
filters(DetectTextFilters)
DetectTextRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DetectTextRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.