public DeviceSummary withDeviceStatus(DeviceStatus deviceStatus) {
        this.deviceStatus = deviceStatus.toString();
        return this;
    }
<p>
The status of the device.
</p>

@param deviceStatus
       The status of the device.
@return Returns a reference to this object so that method calls can be chained together.
@see DeviceStatus
aws-java-sdk-worklink/src/main/java/com/amazonaws/services/worklink/model/DeviceSummary.java