Package com.oracle.bmc.aidocument.model
Class Line.Builder
- java.lang.Object
-
- com.oracle.bmc.aidocument.model.Line.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Line.BuilderboundingPolygon(BoundingPolygon boundingPolygon)Linebuild()Line.Builderconfidence(Float confidence)The confidence score between 0 and 1.Line.Buildercopy(Line model)Line.Buildertext(String text)The text recognized.Line.BuilderwordIndexes(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)
-
-