@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)
Marshalls this structured data using the given
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.
DocumentReadAction
public 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.
DocumentReadAction
public 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.
DocumentReadAction
public 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.
DocumentReadAction
public 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.
DocumentReadMode
public 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.
DocumentReadMode
public 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.
DocumentReadMode
public 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.
DocumentReadMode
public List<String> getFeatureTypes()
Specifies how the text in an input file should be processed:
DocumentReadFeatureTypes
public 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:DocumentReadFeatureTypes
public 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:DocumentReadFeatureTypes
public 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:DocumentReadFeatureTypes
public 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:DocumentReadFeatureTypes
public String toString()
toString
in class Object
Object.toString()
public DocumentReaderConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.