public ListCertificatesRequest withMaxItems(Integer maxItems) {
        setMaxItems(maxItems);
        return this;
    }
<p>
Use this parameter when paginating results to specify the maximum number of items to return in the response. If
additional items exist beyond the number you specify, the <code>NextToken</code> element is sent in the response.
Use this <code>NextToken</code> value in a subsequent request to retrieve additional items.
</p>

@param maxItems
       Use this parameter when paginating results to specify the maximum number of items to return in the
       response. If additional items exist beyond the number you specify, the <code>NextToken</code> element is
       sent in the response. Use this <code>NextToken</code> value in a subsequent request to retrieve additional
       items.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-acm/src/main/java/com/amazonaws/services/certificatemanager/model/ListCertificatesRequest.java