public SuggestionHighlight withEndOffset(Integer endOffset) {
        setEndOffset(endOffset);
        return this;
    }
<p>
The zero-based location in the response string where the highlight ends.
</p>

@param endOffset
       The zero-based location in the response string where the highlight ends.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/SuggestionHighlight.java