@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentReaderConfig extends Object implements Serializable, Cloneable, StructuredPojo
The input properties for a topic detection job.
| Constructor and Description |
|---|
DocumentReaderConfig() |
| Modifier and Type | Method and Description |
|---|---|
DocumentReaderConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDocumentReadAction()
This enum field will start with two values which will apply to PDFs:
|
String |
getDocumentReadMode()
This enum field provides two values:
|
List<String> |
getFeatureTypes()
Specifies how the text in an input file should be processed:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDocumentReadAction(String documentReadAction)
This enum field will start with two values which will apply to PDFs:
|
void |
setDocumentReadMode(String documentReadMode)
This enum field provides two values:
|
void |
setFeatureTypes(Collection<String> featureTypes)
Specifies how the text in an input file should be processed:
|
String |
toString()
Returns a string representation of this object.
|
DocumentReaderConfig |
withDocumentReadAction(DocumentReadAction documentReadAction)
This enum field will start with two values which will apply to PDFs:
|
DocumentReaderConfig |
withDocumentReadAction(String documentReadAction)
This enum field will start with two values which will apply to PDFs:
|
DocumentReaderConfig |
withDocumentReadMode(DocumentReadMode documentReadMode)
This enum field provides two values:
|
DocumentReaderConfig |
withDocumentReadMode(String documentReadMode)
This enum field provides two values:
|
DocumentReaderConfig |
withFeatureTypes(Collection<String> featureTypes)
Specifies how the text in an input file should be processed:
|
DocumentReaderConfig |
withFeatureTypes(DocumentReadFeatureTypes... featureTypes)
Specifies how the text in an input file should be processed:
|
DocumentReaderConfig |
withFeatureTypes(String... featureTypes)
Specifies how the text in an input file should be processed:
|
public void setDocumentReadAction(String documentReadAction)
This enum field will start with two values which will apply to PDFs:
TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per page.
TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.
documentReadAction - This enum field will start with two values which will apply to PDFs:
TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per
page.
TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.
DocumentReadActionpublic String getDocumentReadAction()
This enum field will start with two values which will apply to PDFs:
TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per page.
TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.
TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per
page.
TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.
DocumentReadActionpublic DocumentReaderConfig withDocumentReadAction(String documentReadAction)
This enum field will start with two values which will apply to PDFs:
TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per page.
TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.
documentReadAction - This enum field will start with two values which will apply to PDFs:
TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per
page.
TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.
DocumentReadActionpublic DocumentReaderConfig withDocumentReadAction(DocumentReadAction documentReadAction)
This enum field will start with two values which will apply to PDFs:
TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per page.
TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.
documentReadAction - This enum field will start with two values which will apply to PDFs:
TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per
page.
TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.
DocumentReadActionpublic void setDocumentReadMode(String documentReadMode)
This enum field provides two values:
SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean using an
internal parser instead of Textract APIs
FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including Digital
PDF.
documentReadMode - This enum field provides two values:
SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean
using an internal parser instead of Textract APIs
FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including
Digital PDF.
DocumentReadModepublic String getDocumentReadMode()
This enum field provides two values:
SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean using an
internal parser instead of Textract APIs
FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including Digital
PDF.
SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean
using an internal parser instead of Textract APIs
FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including
Digital PDF.
DocumentReadModepublic DocumentReaderConfig withDocumentReadMode(String documentReadMode)
This enum field provides two values:
SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean using an
internal parser instead of Textract APIs
FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including Digital
PDF.
documentReadMode - This enum field provides two values:
SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean
using an internal parser instead of Textract APIs
FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including
Digital PDF.
DocumentReadModepublic DocumentReaderConfig withDocumentReadMode(DocumentReadMode documentReadMode)
This enum field provides two values:
SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean using an
internal parser instead of Textract APIs
FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including Digital
PDF.
documentReadMode - This enum field provides two values:
SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean
using an internal parser instead of Textract APIs
FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including
Digital PDF.
DocumentReadModepublic List<String> getFeatureTypes()
Specifies how the text in an input file should be processed:
DocumentReadFeatureTypespublic void setFeatureTypes(Collection<String> featureTypes)
Specifies how the text in an input file should be processed:
featureTypes - Specifies how the text in an input file should be processed:DocumentReadFeatureTypespublic DocumentReaderConfig withFeatureTypes(String... featureTypes)
Specifies how the text in an input file should be processed:
NOTE: This method appends the values to the existing list (if any). Use
setFeatureTypes(java.util.Collection) or withFeatureTypes(java.util.Collection) if you want to
override the existing values.
featureTypes - Specifies how the text in an input file should be processed:DocumentReadFeatureTypespublic DocumentReaderConfig withFeatureTypes(Collection<String> featureTypes)
Specifies how the text in an input file should be processed:
featureTypes - Specifies how the text in an input file should be processed:DocumentReadFeatureTypespublic DocumentReaderConfig withFeatureTypes(DocumentReadFeatureTypes... featureTypes)
Specifies how the text in an input file should be processed:
featureTypes - Specifies how the text in an input file should be processed:DocumentReadFeatureTypespublic String toString()
toString in class ObjectObject.toString()public DocumentReaderConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.