Package com.oracle.bmc.aidocument.model
Class Cell.Builder
- java.lang.Object
-
- com.oracle.bmc.aidocument.model.Cell.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cell.Builder
boundingPolygon(BoundingPolygon boundingPolygon)
Cell
build()
Cell.Builder
columnIndex(Integer columnIndex)
The index of the cell inside the column.Cell.Builder
confidence(Float confidence)
The confidence score between 0 and 1.Cell.Builder
copy(Cell model)
Cell.Builder
rowIndex(Integer rowIndex)
The index of the cell inside the row.Cell.Builder
text(String text)
The text recognized in the cell.Cell.Builder
wordIndexes(List<Integer> wordIndexes)
The words detected in the cell.
-
-
-
Method Detail
-
text
public Cell.Builder text(String text)
The text recognized in the cell.- Parameters:
text
- the value to set- Returns:
- this builder
-
rowIndex
public Cell.Builder rowIndex(Integer rowIndex)
The index of the cell inside the row.- Parameters:
rowIndex
- the value to set- Returns:
- this builder
-
columnIndex
public Cell.Builder columnIndex(Integer columnIndex)
The index of the cell inside the column.- Parameters:
columnIndex
- the value to set- Returns:
- this builder
-
confidence
public Cell.Builder confidence(Float confidence)
The confidence score between 0 and 1.- Parameters:
confidence
- the value to set- Returns:
- this builder
-
boundingPolygon
public Cell.Builder boundingPolygon(BoundingPolygon boundingPolygon)
-
wordIndexes
public Cell.Builder wordIndexes(List<Integer> wordIndexes)
The words detected in the cell.- Parameters:
wordIndexes
- the value to set- Returns:
- this builder
-
build
public Cell build()
-
copy
public Cell.Builder copy(Cell model)
-
-