public ListSlotsRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
The maximum number of slots to return in each page of results. If there are fewer results than the max page size,
only the actual number of results are returned.
</p>

@param maxResults
       The maximum number of slots to return in each page of results. If there are fewer results than the max
       page size, only the actual number of results are returned.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/ListSlotsRequest.java