public ListMLEndpointsRequest withMaxItems(Integer maxItems) {
        setMaxItems(maxItems);
        return this;
    }
<p>
The maximum number of items to return (from 1 to 1024; the default is 10.
</p>

@param maxItems
       The maximum number of items to return (from 1 to 1024; the default is 10.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-neptunedata/src/main/java/com/amazonaws/services/neptunedata/model/ListMLEndpointsRequest.java