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

@return The maximum number of instances that you want Cloud Map to return in the response to a
        <code>DiscoverInstances</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/DiscoverInstancesRequest.java