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