Interface TextSegment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TextSegment.Builder,TextSegment>,SdkBuilder<TextSegment.Builder,TextSegment>,SdkPojo
- Enclosing class:
- TextSegment
public static interface TextSegment.Builder extends SdkPojo, CopyableBuilder<TextSegment.Builder,TextSegment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextSegment.BuilderbeginOffset(Integer beginOffset)The zero-based location in the response string where the source attribution starts.TextSegment.BuilderendOffset(Integer endOffset)The zero-based location in the response string where the source attribution ends.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
beginOffset
TextSegment.Builder beginOffset(Integer beginOffset)
The zero-based location in the response string where the source attribution starts.
- Parameters:
beginOffset- The zero-based location in the response string where the source attribution starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endOffset
TextSegment.Builder endOffset(Integer endOffset)
The zero-based location in the response string where the source attribution ends.
- Parameters:
endOffset- The zero-based location in the response string where the source attribution ends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-