@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 that contains information about the requested device.
|
int |
hashCode() |
void |
setDevice(Device device)
An object that contains information about the requested device.
|
String |
toString()
Returns a string representation of this object.
|
GetDeviceResult |
withDevice(Device device)
An object that contains information about the requested device.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setDevice(Device device)
An object that contains information about the requested device.
device - An object that contains information about the requested device.public Device getDevice()
An object that contains information about the requested device.
public GetDeviceResult withDevice(Device device)
An object that contains information about the requested device.
device - An object that contains information about the requested device.public String toString()
toString in class ObjectObject.toString()public GetDeviceResult clone()