public GetInsightEventsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
Used to retrieve at most the specified value of events.
</p>

@param maxResults
       Used to retrieve at most the specified value of events.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/GetInsightEventsRequest.java