public static interface DocumentReaderConfig.Builder extends SdkPojo, CopyableBuilder<DocumentReaderConfig.Builder,DocumentReaderConfig>
| Modifier and Type | Method and Description |
|---|---|
DocumentReaderConfig.Builder |
documentReadAction(DocumentReadAction documentReadAction)
This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from PDF
files and image files.
|
DocumentReaderConfig.Builder |
documentReadAction(String documentReadAction)
This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from PDF
files and image files.
|
DocumentReaderConfig.Builder |
documentReadMode(DocumentReadMode documentReadMode)
Determines the text extraction actions for PDF files.
|
DocumentReaderConfig.Builder |
documentReadMode(String documentReadMode)
Determines the text extraction actions for PDF files.
|
DocumentReaderConfig.Builder |
featureTypes(Collection<DocumentReadFeatureTypes> featureTypes)
Specifies the type of Amazon Textract features to apply.
|
DocumentReaderConfig.Builder |
featureTypes(DocumentReadFeatureTypes... featureTypes)
Specifies the type of Amazon Textract features to apply.
|
DocumentReaderConfig.Builder |
featureTypesWithStrings(Collection<String> featureTypes)
Specifies the type of Amazon Textract features to apply.
|
DocumentReaderConfig.Builder |
featureTypesWithStrings(String... featureTypes)
Specifies the type of Amazon Textract features to apply.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDocumentReaderConfig.Builder documentReadAction(String documentReadAction)
This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from PDF files and image files. Enter one of the following values:
TEXTRACT_DETECT_DOCUMENT_TEXT - The Amazon Comprehend service uses the
DetectDocumentText API operation.
TEXTRACT_ANALYZE_DOCUMENT - The Amazon Comprehend service uses the AnalyzeDocument
API operation.
documentReadAction - This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from
PDF files and image files. Enter one of the following values:
TEXTRACT_DETECT_DOCUMENT_TEXT - The Amazon Comprehend service uses the
DetectDocumentText API operation.
TEXTRACT_ANALYZE_DOCUMENT - The Amazon Comprehend service uses the
AnalyzeDocument API operation.
DocumentReadAction,
DocumentReadActionDocumentReaderConfig.Builder documentReadAction(DocumentReadAction documentReadAction)
This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from PDF files and image files. Enter one of the following values:
TEXTRACT_DETECT_DOCUMENT_TEXT - The Amazon Comprehend service uses the
DetectDocumentText API operation.
TEXTRACT_ANALYZE_DOCUMENT - The Amazon Comprehend service uses the AnalyzeDocument
API operation.
documentReadAction - This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from
PDF files and image files. Enter one of the following values:
TEXTRACT_DETECT_DOCUMENT_TEXT - The Amazon Comprehend service uses the
DetectDocumentText API operation.
TEXTRACT_ANALYZE_DOCUMENT - The Amazon Comprehend service uses the
AnalyzeDocument API operation.
DocumentReadAction,
DocumentReadActionDocumentReaderConfig.Builder documentReadMode(String documentReadMode)
Determines the text extraction actions for PDF files. Enter one of the following values:
SERVICE_DEFAULT - use the Amazon Comprehend service defaults for PDF files.
FORCE_DOCUMENT_READ_ACTION - Amazon Comprehend uses the Textract API specified by
DocumentReadAction for all PDF files, including digital PDF files.
documentReadMode - Determines the text extraction actions for PDF files. Enter one of the following values:
SERVICE_DEFAULT - use the Amazon Comprehend service defaults for PDF files.
FORCE_DOCUMENT_READ_ACTION - Amazon Comprehend uses the Textract API specified by
DocumentReadAction for all PDF files, including digital PDF files.
DocumentReadMode,
DocumentReadModeDocumentReaderConfig.Builder documentReadMode(DocumentReadMode documentReadMode)
Determines the text extraction actions for PDF files. Enter one of the following values:
SERVICE_DEFAULT - use the Amazon Comprehend service defaults for PDF files.
FORCE_DOCUMENT_READ_ACTION - Amazon Comprehend uses the Textract API specified by
DocumentReadAction for all PDF files, including digital PDF files.
documentReadMode - Determines the text extraction actions for PDF files. Enter one of the following values:
SERVICE_DEFAULT - use the Amazon Comprehend service defaults for PDF files.
FORCE_DOCUMENT_READ_ACTION - Amazon Comprehend uses the Textract API specified by
DocumentReadAction for all PDF files, including digital PDF files.
DocumentReadMode,
DocumentReadModeDocumentReaderConfig.Builder featureTypesWithStrings(Collection<String> featureTypes)
Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT
as the read action, you must specify one or both of the following values:
TABLES - Returns information about any tables that are detected in the input document.
FORMS - Returns information and the data from any forms that are detected in the input document.
featureTypes - Specifies the type of Amazon Textract features to apply. If you chose
TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the
following values:
TABLES - Returns information about any tables that are detected in the input document.
FORMS - Returns information and the data from any forms that are detected in the input
document.
DocumentReaderConfig.Builder featureTypesWithStrings(String... featureTypes)
Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT
as the read action, you must specify one or both of the following values:
TABLES - Returns information about any tables that are detected in the input document.
FORMS - Returns information and the data from any forms that are detected in the input document.
featureTypes - Specifies the type of Amazon Textract features to apply. If you chose
TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the
following values:
TABLES - Returns information about any tables that are detected in the input document.
FORMS - Returns information and the data from any forms that are detected in the input
document.
DocumentReaderConfig.Builder featureTypes(Collection<DocumentReadFeatureTypes> featureTypes)
Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT
as the read action, you must specify one or both of the following values:
TABLES - Returns information about any tables that are detected in the input document.
FORMS - Returns information and the data from any forms that are detected in the input document.
featureTypes - Specifies the type of Amazon Textract features to apply. If you chose
TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the
following values:
TABLES - Returns information about any tables that are detected in the input document.
FORMS - Returns information and the data from any forms that are detected in the input
document.
DocumentReaderConfig.Builder featureTypes(DocumentReadFeatureTypes... featureTypes)
Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT
as the read action, you must specify one or both of the following values:
TABLES - Returns information about any tables that are detected in the input document.
FORMS - Returns information and the data from any forms that are detected in the input document.
featureTypes - Specifies the type of Amazon Textract features to apply. If you chose
TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the
following values:
TABLES - Returns information about any tables that are detected in the input document.
FORMS - Returns information and the data from any forms that are detected in the input
document.
Copyright © 2023. All rights reserved.