public void setQuery(String query) {
        this.query = query;
    }
<p>
Specifies the search criteria for the request. How you specify the search criteria depends on the query parser
used for the request and the parser options specified in the <code>queryOptions</code> parameter. By default, the
<code>simple</code> query parser is used to process requests. To use the <code>structured</code>,
<code>lucene</code>, or <code>dismax</code> query parser, you must also specify the <code>queryParser</code>
parameter.
</p>
<p>
For more information about specifying search criteria, see <a
href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/searching.html">Searching Your Data</a> in the
<i>Amazon CloudSearch Developer Guide</i>.
</p>

@param query
       Specifies the search criteria for the request. How you specify the search criteria depends on the query
       parser used for the request and the parser options specified in the <code>queryOptions</code> parameter.
       By default, the <code>simple</code> query parser is used to process requests. To use the
       <code>structured</code>, <code>lucene</code>, or <code>dismax</code> query parser, you must also specify
       the <code>queryParser</code> parameter. </p>
       <p>
       For more information about specifying search criteria, see <a
       href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/searching.html">Searching Your Data</a>
       in the <i>Amazon CloudSearch Developer Guide</i>.
aws-java-sdk-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchdomain/model/SearchRequest.java