Package com.oracle.bmc.aidocument.model
Class GeneralProcessorConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.aidocument.model.GeneralProcessorConfig.Builder
-
- Enclosing class:
- GeneralProcessorConfig
public static class GeneralProcessorConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneralProcessorConfigbuild()GeneralProcessorConfig.Buildercopy(GeneralProcessorConfig model)GeneralProcessorConfig.BuilderdocumentType(DocumentType documentType)The document type.GeneralProcessorConfig.Builderfeatures(List<DocumentFeature> features)The types of document analysis requested.GeneralProcessorConfig.BuilderisZipOutputEnabled(Boolean isZipOutputEnabled)Whether or not to generate a ZIP file containing the results.GeneralProcessorConfig.Builderlanguage(String language)The document language, abbreviated according to the BCP 47 Language-Tag syntax.
-
-
-
Method Detail
-
documentType
public GeneralProcessorConfig.Builder documentType(DocumentType documentType)
The document type.- Parameters:
documentType- the value to set- Returns:
- this builder
-
features
public GeneralProcessorConfig.Builder features(List<DocumentFeature> features)
The types of document analysis requested.- Parameters:
features- the value to set- Returns:
- this builder
-
isZipOutputEnabled
public GeneralProcessorConfig.Builder isZipOutputEnabled(Boolean isZipOutputEnabled)
Whether or not to generate a ZIP file containing the results.- Parameters:
isZipOutputEnabled- the value to set- Returns:
- this builder
-
language
public GeneralProcessorConfig.Builder language(String language)
The document language, abbreviated according to the BCP 47 Language-Tag syntax.- Parameters:
language- the value to set- Returns:
- this builder
-
build
public GeneralProcessorConfig build()
-
copy
public GeneralProcessorConfig.Builder copy(GeneralProcessorConfig model)
-
-