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