public GetStatementResultResult withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
A value that indicates the starting point for the next set of response records in a subsequent request. If a
value is returned in a response, you can retrieve the next set of records by providing this returned NextToken
value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response
records have been retrieved for the request.
</p>

@param nextToken
       A value that indicates the starting point for the next set of response records in a subsequent request. If
       a value is returned in a response, you can retrieve the next set of records by providing this returned
       NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty,
       all response records have been retrieved for the request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftdataapi/src/main/java/com/amazonaws/services/redshiftdataapi/model/GetStatementResultResult.java