public ListDeviceInstancesRequest withMaxResults(Integer maxResults) {
        setMaxResults(maxResults);
        return this;
    }
<p>
An integer that specifies the maximum number of items you want to return in the API response.
</p>

@param maxResults
       An integer that specifies the maximum number of items you want to return in the API response.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/ListDeviceInstancesRequest.java