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

@return An optional parameter that specifies the maximum number of results to return. You can use
        <code>nextToken</code> to get the next page of results. The default is 20.
aws-java-sdk-opensearchserverless/src/main/java/com/amazonaws/services/opensearchserverless/model/ListAccessPoliciesRequest.java