public Integer getMaxResults() {
        return this.maxResults;
    }
<p>
The maximum number of results to return. Default is 20. You can use <code>nextToken</code> to get the next page
of results.
</p>

@return The maximum number of results to return. Default is 20. You can use <code>nextToken</code> to get the
        next page of results.
aws-java-sdk-opensearchserverless/src/main/java/com/amazonaws/services/opensearchserverless/model/ListCollectionsRequest.java