public TextSegment withBeginOffset(Integer beginOffset) {
        setBeginOffset(beginOffset);
        return this;
    }
<p>
The zero-based location in the response string where the source attribution starts.
</p>

@param beginOffset
       The zero-based location in the response string where the source attribution starts.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/TextSegment.java