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 compartment identifier.
|
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(String language)
The document language, abbreviated according to the BCP 47 syntax.
|
AnalyzeDocumentDetails.Builder |
ocrData(AnalyzeDocumentResult ocrData) |
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 compartment identifier.
compartmentId
- the value to setpublic AnalyzeDocumentDetails.Builder outputLocation(OutputLocation outputLocation)
public AnalyzeDocumentDetails.Builder language(String language)
The document language, abbreviated according to the BCP 47 syntax.
language
- the value to setpublic AnalyzeDocumentDetails.Builder documentType(DocumentType documentType)
The document type.
documentType
- the value to setpublic AnalyzeDocumentDetails.Builder ocrData(AnalyzeDocumentResult ocrData)
public AnalyzeDocumentDetails build()
public AnalyzeDocumentDetails.Builder copy(AnalyzeDocumentDetails model)
Copyright © 2016–2024. All rights reserved.