Package com.oracle.bmc.aivision.model
Class Cell.Builder
- java.lang.Object
-
- com.oracle.bmc.aivision.model.Cell.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cell.BuilderboundingPolygon(BoundingPolygon boundingPolygon)Cellbuild()Cell.BuildercolumnIndex(Integer columnIndex)The index of the cell inside the column.Cell.Builderconfidence(Float confidence)The confidence score between 0 and 1.Cell.Buildercopy(Cell model)Cell.BuilderrowIndex(Integer rowIndex)The index of the cell inside the row.Cell.Buildertext(String text)The text recognized in the cell.Cell.BuilderwordIndexes(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)
-
-