Class TextSpan.Builder
- java.lang.Object
-
- com.oracle.bmc.datalabelingservicedataplane.model.TextSpan.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextSpan
build()
TextSpan.Builder
copy(TextSpan model)
TextSpan.Builder
length(BigDecimal length)
The length of the selected text.TextSpan.Builder
offset(BigDecimal offset)
The offset of the selected text within the entire text.
-
-
-
Method Detail
-
offset
public TextSpan.Builder offset(BigDecimal offset)
The offset of the selected text within the entire text.- Parameters:
offset
- the value to set- Returns:
- this builder
-
length
public TextSpan.Builder length(BigDecimal length)
The length of the selected text.- Parameters:
length
- the value to set- Returns:
- this builder
-
build
public TextSpan build()
-
copy
public TextSpan.Builder copy(TextSpan model)
-
-