public static class DetectedDocumentType.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DetectedDocumentType |
build() |
DetectedDocumentType.Builder |
confidence(Float confidence)
The confidence score between 0 and 1.
|
DetectedDocumentType.Builder |
copy(DetectedDocumentType model) |
DetectedDocumentType.Builder |
documentId(String documentId)
The OCID
of the Key-Value Extraction model that was used to extract the key-value pairs.
|
DetectedDocumentType.Builder |
documentType(String documentType)
The document type.
|
public DetectedDocumentType.Builder documentType(String documentType)
The document type.
documentType
- the value to setpublic DetectedDocumentType.Builder documentId(String documentId)
The OCID of the Key-Value Extraction model that was used to extract the key-value pairs.
documentId
- the value to setpublic DetectedDocumentType.Builder confidence(Float confidence)
The confidence score between 0 and 1.
confidence
- the value to setpublic DetectedDocumentType build()
public DetectedDocumentType.Builder copy(DetectedDocumentType model)
Copyright © 2016–2024. All rights reserved.