public static interface DetectDocumentTextRequest.Builder extends TextractRequest.Builder, SdkPojo, CopyableBuilder<DetectDocumentTextRequest.Builder,DetectDocumentTextRequest>
Modifier and Type | Method and Description |
---|---|
default DetectDocumentTextRequest.Builder |
document(Consumer<Document.Builder> document)
The input document as base64-encoded bytes or an Amazon S3 object.
|
DetectDocumentTextRequest.Builder |
document(Document document)
The input document as base64-encoded bytes or an Amazon S3 object.
|
DetectDocumentTextRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DetectDocumentTextRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DetectDocumentTextRequest.Builder document(Document document)
The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are
passed using the Bytes
field.
document
- The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call
Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG
format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes
that are passed using the Bytes
field.
default DetectDocumentTextRequest.Builder document(Consumer<Document.Builder> document)
The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG or PNG format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are
passed using the Bytes
field.
Document.Builder
avoiding the need to create
one manually via Document.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to document(Document)
.document
- a consumer that will call methods on Document.Builder
document(Document)
DetectDocumentTextRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DetectDocumentTextRequest.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.