@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDeviceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the result of a get device request.
| Constructor and Description |
|---|
GetDeviceResult() |
| Modifier and Type | Method and Description |
|---|---|
GetDeviceResult |
clone() |
boolean |
equals(Object obj) |
Device |
getDevice()
An object containing information about the requested device.
|
int |
hashCode() |
void |
setDevice(Device device)
An object containing information about the requested device.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetDeviceResult |
withDevice(Device device)
An object containing information about the requested device.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setDevice(Device device)
An object containing information about the requested device.
device - An object containing information about the requested device.public Device getDevice()
An object containing information about the requested device.
public GetDeviceResult withDevice(Device device)
An object containing information about the requested device.
device - An object containing information about the requested device.public String toString()
toString in class ObjectObject.toString()public GetDeviceResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.