public void setMaxResults(Integer maxResults) {
        this.maxResults = maxResults;
    }
<p>
The maximum number of objects to return for the request.
</p>

@param maxResults
       The maximum number of objects to return for the request.
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/GetDetectorsRequest.java