public Block withQuery(Query query) {
        setQuery(query);
        return this;
    }
<p/>

@param query
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-textract/src/main/java/com/amazonaws/services/textract/model/Block.java