@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDeviceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Gets the device response.
| Constructor and Description |
|---|
GetDeviceResult() |
| Modifier and Type | Method and Description |
|---|---|
GetDeviceResult |
clone() |
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.
|
GetDeviceResult |
withDevice(DeviceType device)
The device.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setDevice(DeviceType device)
The device.
device - The device.public DeviceType getDevice()
The device.
public GetDeviceResult withDevice(DeviceType device)
The device.
device - The device.public String toString()
toString in class ObjectObject.toString()public GetDeviceResult clone()