public QueryExecution withQuery(String query) {
        setQuery(query);
        return this;
    }
<p>
The SQL query statements which the query execution ran.
</p>

@param query
       The SQL query statements which the query execution ran.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/QueryExecution.java