public ListPricesRequest withMaxItems(Integer maxItems) {
        setMaxItems(maxItems);
        return this;
    }
<p>
Number of <code>Prices</code> to be returned.
</p>
<p>
Used only for all TLDs. If you specify a TLD, don't specify a <code>MaxItems</code>.
</p>

@param maxItems
       Number of <code>Prices</code> to be returned.</p>
       <p>
       Used only for all TLDs. If you specify a TLD, don't specify a <code>MaxItems</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/ListPricesRequest.java