public static interface AnalyzeDocumentRequest.Builder extends TextractRequest.Builder, SdkPojo, CopyableBuilder<AnalyzeDocumentRequest.Builder,AnalyzeDocumentRequest>
| Modifier and Type | Method and Description |
|---|---|
default AnalyzeDocumentRequest.Builder |
document(Consumer<Document.Builder> document)
The input document as base64-encoded bytes or an Amazon S3 object.
|
AnalyzeDocumentRequest.Builder |
document(Document document)
The input document as base64-encoded bytes or an Amazon S3 object.
|
AnalyzeDocumentRequest.Builder |
featureTypes(Collection<FeatureType> featureTypes)
A list of the types of analysis to perform.
|
AnalyzeDocumentRequest.Builder |
featureTypes(FeatureType... featureTypes)
A list of the types of analysis to perform.
|
AnalyzeDocumentRequest.Builder |
featureTypesWithStrings(Collection<String> featureTypes)
A list of the types of analysis to perform.
|
AnalyzeDocumentRequest.Builder |
featureTypesWithStrings(String... featureTypes)
A list of the types of analysis to perform.
|
default AnalyzeDocumentRequest.Builder |
humanLoopConfig(Consumer<HumanLoopConfig.Builder> humanLoopConfig)
Sets the configuration for the human in the loop workflow for analyzing documents.
|
AnalyzeDocumentRequest.Builder |
humanLoopConfig(HumanLoopConfig humanLoopConfig)
Sets the configuration for the human in the loop workflow for analyzing documents.
|
AnalyzeDocumentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AnalyzeDocumentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default AnalyzeDocumentRequest.Builder |
queriesConfig(Consumer<QueriesConfig.Builder> queriesConfig)
Contains Queries and the alias for those Queries, as determined by the input.
|
AnalyzeDocumentRequest.Builder |
queriesConfig(QueriesConfig queriesConfig)
Contains Queries and the alias for those Queries, as determined by the input.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAnalyzeDocumentRequest.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, PNG, PDF, or TIFF 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, PNG,
PDF, or TIFF 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 AnalyzeDocumentRequest.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, PNG, PDF, or TIFF 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.Builderdocument(Document)AnalyzeDocumentRequest.Builder featureTypesWithStrings(Collection<String> featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the
locations of detected signatures. To perform both forms and table analysis, add TABLES and FORMS to
FeatureTypes. To detect signatures within form data and table data, add SIGNATURES to either
TABLES or FORMS. All lines and words detected in the document are included in the response (including text
that isn't related to the value of FeatureTypes).
featureTypes - A list of the types of analysis to perform. Add TABLES to the list to return information about the
tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES
to return the locations of detected signatures. To perform both forms and table analysis, add TABLES
and FORMS to FeatureTypes. To detect signatures within form data and table data, add
SIGNATURES to either TABLES or FORMS. All lines and words detected in the document are included in the
response (including text that isn't related to the value of FeatureTypes).AnalyzeDocumentRequest.Builder featureTypesWithStrings(String... featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the
locations of detected signatures. To perform both forms and table analysis, add TABLES and FORMS to
FeatureTypes. To detect signatures within form data and table data, add SIGNATURES to either
TABLES or FORMS. All lines and words detected in the document are included in the response (including text
that isn't related to the value of FeatureTypes).
featureTypes - A list of the types of analysis to perform. Add TABLES to the list to return information about the
tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES
to return the locations of detected signatures. To perform both forms and table analysis, add TABLES
and FORMS to FeatureTypes. To detect signatures within form data and table data, add
SIGNATURES to either TABLES or FORMS. All lines and words detected in the document are included in the
response (including text that isn't related to the value of FeatureTypes).AnalyzeDocumentRequest.Builder featureTypes(Collection<FeatureType> featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the
locations of detected signatures. To perform both forms and table analysis, add TABLES and FORMS to
FeatureTypes. To detect signatures within form data and table data, add SIGNATURES to either
TABLES or FORMS. All lines and words detected in the document are included in the response (including text
that isn't related to the value of FeatureTypes).
featureTypes - A list of the types of analysis to perform. Add TABLES to the list to return information about the
tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES
to return the locations of detected signatures. To perform both forms and table analysis, add TABLES
and FORMS to FeatureTypes. To detect signatures within form data and table data, add
SIGNATURES to either TABLES or FORMS. All lines and words detected in the document are included in the
response (including text that isn't related to the value of FeatureTypes).AnalyzeDocumentRequest.Builder featureTypes(FeatureType... featureTypes)
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables
that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the
locations of detected signatures. To perform both forms and table analysis, add TABLES and FORMS to
FeatureTypes. To detect signatures within form data and table data, add SIGNATURES to either
TABLES or FORMS. All lines and words detected in the document are included in the response (including text
that isn't related to the value of FeatureTypes).
featureTypes - A list of the types of analysis to perform. Add TABLES to the list to return information about the
tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES
to return the locations of detected signatures. To perform both forms and table analysis, add TABLES
and FORMS to FeatureTypes. To detect signatures within form data and table data, add
SIGNATURES to either TABLES or FORMS. All lines and words detected in the document are included in the
response (including text that isn't related to the value of FeatureTypes).AnalyzeDocumentRequest.Builder humanLoopConfig(HumanLoopConfig humanLoopConfig)
Sets the configuration for the human in the loop workflow for analyzing documents.
humanLoopConfig - Sets the configuration for the human in the loop workflow for analyzing documents.default AnalyzeDocumentRequest.Builder humanLoopConfig(Consumer<HumanLoopConfig.Builder> humanLoopConfig)
Sets the configuration for the human in the loop workflow for analyzing documents.
This is a convenience method that creates an instance of theHumanLoopConfig.Builder avoiding the
need to create one manually via HumanLoopConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to humanLoopConfig(HumanLoopConfig).
humanLoopConfig - a consumer that will call methods on HumanLoopConfig.BuilderhumanLoopConfig(HumanLoopConfig)AnalyzeDocumentRequest.Builder queriesConfig(QueriesConfig queriesConfig)
Contains Queries and the alias for those Queries, as determined by the input.
queriesConfig - Contains Queries and the alias for those Queries, as determined by the input.default AnalyzeDocumentRequest.Builder queriesConfig(Consumer<QueriesConfig.Builder> queriesConfig)
Contains Queries and the alias for those Queries, as determined by the input.
This is a convenience method that creates an instance of theQueriesConfig.Builder avoiding the need
to create one manually via QueriesConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to queriesConfig(QueriesConfig).
queriesConfig - a consumer that will call methods on QueriesConfig.BuilderqueriesConfig(QueriesConfig)AnalyzeDocumentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAnalyzeDocumentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.