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 TextSpanbuild()TextSpan.Buildercopy(TextSpan model)TextSpan.Builderlength(BigDecimal length)The length of the selected text.TextSpan.Builderoffset(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)
-
-