public static class GeneralProcessorConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GeneralProcessorConfig |
build() |
GeneralProcessorConfig.Builder |
copy(GeneralProcessorConfig model) |
GeneralProcessorConfig.Builder |
documentType(DocumentType documentType)
The document type.
|
GeneralProcessorConfig.Builder |
features(List<DocumentFeature> features)
The types of document analysis requested.
|
GeneralProcessorConfig.Builder |
isZipOutputEnabled(Boolean isZipOutputEnabled)
Whether or not to generate a ZIP file containing the results.
|
GeneralProcessorConfig.Builder |
language(String language)
The document language, abbreviated according to the BCP 47 Language-Tag syntax.
|
public GeneralProcessorConfig.Builder documentType(DocumentType documentType)
The document type.
documentType
- the value to setpublic GeneralProcessorConfig.Builder features(List<DocumentFeature> features)
The types of document analysis requested.
features
- the value to setpublic GeneralProcessorConfig.Builder isZipOutputEnabled(Boolean isZipOutputEnabled)
Whether or not to generate a ZIP file containing the results.
isZipOutputEnabled
- the value to setpublic GeneralProcessorConfig.Builder language(String language)
The document language, abbreviated according to the BCP 47 Language-Tag syntax.
language
- the value to setpublic GeneralProcessorConfig build()
public GeneralProcessorConfig.Builder copy(GeneralProcessorConfig model)
Copyright © 2016–2024. All rights reserved.