public ListRecoveryPointsByResourceRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of items to be returned.
</p>
<note>
<p>
Amazon RDS requires a value of at least 20.
</p>
</note>

@param maxResults
       The maximum number of items to be returned.</p> <note>
       <p>
       Amazon RDS requires a value of at least 20.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/ListRecoveryPointsByResourceRequest.java