public ListDevicesResult withDevices(java.util.Collection<DeviceType> devices) {
        setDevices(devices);
        return this;
    }
<p>
The devices returned in the list devices response.
</p>

@param devices
       The devices returned in the list devices response.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/ListDevicesResult.java