public SyntaxToken withEndOffset(Integer endOffset) {
        setEndOffset(endOffset);
        return this;
    }
<p>
The zero-based offset from the beginning of the source text to the last character in the word.
</p>

@param endOffset
       The zero-based offset from the beginning of the source text to the last character in the word.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SyntaxToken.java