public void setEndOffset(Integer endOffset) {
        this.endOffset = endOffset;
    }
<p>
The zero-based location in the response string where the source attribution ends.
</p>

@param endOffset
       The zero-based location in the response string where the source attribution ends.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/TextSegment.java