public class DeviceObject extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceObject.DeviceType |
| Modifier and Type | Field and Description |
|---|---|
String |
deviceName |
int |
devicePort |
DeviceObject.DeviceType |
deviceType |
Boolean |
isAvailable |
| Constructor and Description |
|---|
DeviceObject() |
| Modifier and Type | Method and Description |
|---|---|
DeviceObject |
withDeviceName(String deviceName) |
DeviceObject |
withDevicePort(int devicePort) |
DeviceObject |
withDeviceType(DeviceObject.DeviceType type) |
DeviceObject |
withIsAvailable(Boolean isAvailable) |
public String deviceName
public Boolean isAvailable
public DeviceObject.DeviceType deviceType
public int devicePort
public DeviceObject withDeviceName(String deviceName)
public DeviceObject withIsAvailable(Boolean isAvailable)
public DeviceObject withDeviceType(DeviceObject.DeviceType type)
public DeviceObject withDevicePort(int devicePort)
Copyright © 2020. All rights reserved.