public GetTextDetectionRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetTextDetectionRequest.java