public static class AnalyzeDocumentDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AnalyzeDocumentDetails |
build() |
AnalyzeDocumentDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that calls the API.
|
AnalyzeDocumentDetails.Builder |
copy(AnalyzeDocumentDetails model) |
AnalyzeDocumentDetails.Builder |
document(DocumentDetails document) |
AnalyzeDocumentDetails.Builder |
documentType(DocumentType documentType)
The document type.
|
AnalyzeDocumentDetails.Builder |
features(List<DocumentFeature> features)
The types of document analysis requested.
|
AnalyzeDocumentDetails.Builder |
language(DocumentLanguage language)
The document language, abbreviated according to ISO 639-2.
|
AnalyzeDocumentDetails.Builder |
outputLocation(OutputLocation outputLocation) |
public AnalyzeDocumentDetails.Builder features(List<DocumentFeature> features)
The types of document analysis requested.
features
- the value to setpublic AnalyzeDocumentDetails.Builder document(DocumentDetails document)
public AnalyzeDocumentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that calls the API.
compartmentId
- the value to setpublic AnalyzeDocumentDetails.Builder outputLocation(OutputLocation outputLocation)
public AnalyzeDocumentDetails.Builder language(DocumentLanguage language)
The document language, abbreviated according to ISO 639-2.
language
- the value to setpublic AnalyzeDocumentDetails.Builder documentType(DocumentType documentType)
The document type.
documentType
- the value to setpublic AnalyzeDocumentDetails build()
public AnalyzeDocumentDetails.Builder copy(AnalyzeDocumentDetails model)
Copyright © 2016–2024. All rights reserved.