public void setMaxResults(Integer maxResults) {
        this.maxResults = maxResults;
    }
<p>
Maximum number of results to return per paginated call. The largest value you can specify is 1000.
</p>

@param maxResults
       Maximum number of results to return per paginated call. The largest value you can specify is 1000.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetSegmentDetectionRequest.java