Package com.oracle.bmc.aivision.model
Class AnalyzeDocumentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.aivision.model.AnalyzeDocumentDetails.Builder
-
- Enclosing class:
- AnalyzeDocumentDetails
public static class AnalyzeDocumentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
features
public AnalyzeDocumentDetails.Builder features(List<DocumentFeature> features)
The types of document analysis requested.- Parameters:
features
- the value to set- Returns:
- this builder
-
document
public AnalyzeDocumentDetails.Builder document(DocumentDetails document)
-
compartmentId
public AnalyzeDocumentDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that calls the API.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
outputLocation
public AnalyzeDocumentDetails.Builder outputLocation(OutputLocation outputLocation)
-
language
public AnalyzeDocumentDetails.Builder language(DocumentLanguage language)
The document language, abbreviated according to ISO 639-2.- Parameters:
language
- the value to set- Returns:
- this builder
-
documentType
public AnalyzeDocumentDetails.Builder documentType(DocumentType documentType)
The document type.- Parameters:
documentType
- the value to set- Returns:
- this builder
-
build
public AnalyzeDocumentDetails build()
-
copy
public AnalyzeDocumentDetails.Builder copy(AnalyzeDocumentDetails model)
-
-