public ListResourceDefinitionVersionsRequest withMaxResults(String maxResults) {
        setMaxResults(maxResults);
        return this;
    }
The maximum number of results to be returned per request.

@param maxResults
       The maximum number of results to be returned per request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/ListResourceDefinitionVersionsRequest.java