Class GroundingSupportSegment.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.GroundingSupportSegment.Builder
-
- Enclosing class:
- GroundingSupportSegment
public static class GroundingSupportSegment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroundingSupportSegmentbuild()GroundingSupportSegment.Buildercopy(GroundingSupportSegment model)GroundingSupportSegment.BuilderendIndex(Integer endIndex)The end indexGroundingSupportSegment.BuilderstartIndex(Integer startIndex)The start indexGroundingSupportSegment.Buildertext(String text)the text in the segment
-
-
-
Method Detail
-
startIndex
public GroundingSupportSegment.Builder startIndex(Integer startIndex)
The start index- Parameters:
startIndex- the value to set- Returns:
- this builder
-
endIndex
public GroundingSupportSegment.Builder endIndex(Integer endIndex)
The end index- Parameters:
endIndex- the value to set- Returns:
- this builder
-
text
public GroundingSupportSegment.Builder text(String text)
the text in the segment- Parameters:
text- the value to set- Returns:
- this builder
-
build
public GroundingSupportSegment build()
-
copy
public GroundingSupportSegment.Builder copy(GroundingSupportSegment model)
-
-