public static class KeyValueSelectionEntity.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KeyValueSelectionEntity.Builder |
boundingPolygon(BoundingPolygon boundingPolygon) |
KeyValueSelectionEntity |
build() |
KeyValueSelectionEntity.Builder |
confidence(Float confidence)
float value, score from OCR.
|
KeyValueSelectionEntity.Builder |
copy(KeyValueSelectionEntity model) |
KeyValueSelectionEntity.Builder |
labels(List<Label> labels)
A collection of label entities.
|
KeyValueSelectionEntity.Builder |
pageNumber(BigDecimal pageNumber)
Integer value.
|
KeyValueSelectionEntity.Builder |
rotation(BigDecimal rotation)
Integer value.
|
KeyValueSelectionEntity.Builder |
text(String text)
Entity Name.
|
public KeyValueSelectionEntity.Builder text(String text)
Entity Name.
text
- the value to setpublic KeyValueSelectionEntity.Builder labels(List<Label> labels)
A collection of label entities.
labels
- the value to setpublic KeyValueSelectionEntity.Builder boundingPolygon(BoundingPolygon boundingPolygon)
public KeyValueSelectionEntity.Builder rotation(BigDecimal rotation)
Integer value.
rotation
- the value to setpublic KeyValueSelectionEntity.Builder confidence(Float confidence)
float value, score from OCR.
confidence
- the value to setpublic KeyValueSelectionEntity.Builder pageNumber(BigDecimal pageNumber)
Integer value.
pageNumber
- the value to setpublic KeyValueSelectionEntity build()
public KeyValueSelectionEntity.Builder copy(KeyValueSelectionEntity model)
Copyright © 2016–2024. All rights reserved.