public ListServicesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of services that you want Cloud Map to return in the response to a <code>ListServices</code>
request. If you don't specify a value for <code>MaxResults</code>, Cloud Map returns up to 100 services.
</p>

@param maxResults
       The maximum number of services that you want Cloud Map to return in the response to a
       <code>ListServices</code> request. If you don't specify a value for <code>MaxResults</code>, Cloud Map
       returns up to 100 services.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/ListServicesRequest.java