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

@param maxResults
       The maximum number of instances that you want Cloud Map to return in the response to a
       <code>ListInstances</code> request. If you don't specify a value for <code>MaxResults</code>, Cloud Map
       returns up to 100 instances.
aws-java-sdk-servicediscovery/src/main/java/com/amazonaws/services/servicediscovery/model/ListInstancesRequest.java