public DeviceSelectionResult withMaxDevices(Integer maxDevices) {
        setMaxDevices(maxDevices);
        return this;
    }
<p>
The maximum number of devices to be selected by a device filter and included in a test run.
</p>

@param maxDevices
       The maximum number of devices to be selected by a device filter and included in a test run.
@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/DeviceSelectionResult.java