public SearchRequest withCursor(String cursor) {
        setCursor(cursor);
        return this;
    }
<p>
Retrieves a cursor value you can use to page through large result sets. Use the <code>size</code> parameter to
control the number of hits to include in each response. You can specify either the <code>cursor</code> or
<code>start</code> parameter in a request; they are mutually exclusive. To get the first cursor, set the cursor
value to <code>initial</code>. In subsequent requests, specify the cursor value returned in the hits section of
the response.
</p>
<p>
For more information, see <a
href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/paginating-results.html">Paginating
Results</a> in the <i>Amazon CloudSearch Developer Guide</i>.
</p>

@param cursor
       Retrieves a cursor value you can use to page through large result sets. Use the <code>size</code>
       parameter to control the number of hits to include in each response. You can specify either the
       <code>cursor</code> or <code>start</code> parameter in a request; they are mutually exclusive. To get the
       first cursor, set the cursor value to <code>initial</code>. In subsequent requests, specify the cursor
       value returned in the hits section of the response. </p>
       <p>
       For more information, see <a
       href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/paginating-results.html">Paginating
       Results</a> in the <i>Amazon CloudSearch Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchdomain/model/SearchRequest.java