public class GetDeviceResult extends Object implements Serializable
Gets the device response.
| Constructor and Description |
|---|
GetDeviceResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DeviceType |
getDevice()
The device.
|
int |
hashCode() |
void |
setDevice(DeviceType device)
The device.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDeviceResult |
withDevice(DeviceType device)
The device.
|
public DeviceType getDevice()
The device.
The device.
public void setDevice(DeviceType device)
The device.
device - The device.
public GetDeviceResult withDevice(DeviceType device)
The device.
Returns a reference to this object so that method calls can be chained together.
device - The device.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.