public ListTablesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of tables to return in the response. If more tables exist than fit in one response, then
<code>NextToken</code> is returned to page through the results.
</p>

@param maxResults
       The maximum number of tables to return in the response. If more tables exist than fit in one response,
       then <code>NextToken</code> is returned to page through the results.
@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/ListTablesRequest.java