@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of devices.
Constructor and Description |
---|
DeviceSummary() |
Modifier and Type | Method and Description |
---|---|
DeviceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceId()
The ID of the device.
|
String |
getDeviceStatus()
The status of the device.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceId(String deviceId)
The ID of the device.
|
void |
setDeviceStatus(String deviceStatus)
The status of the device.
|
String |
toString()
Returns a string representation of this object.
|
DeviceSummary |
withDeviceId(String deviceId)
The ID of the device.
|
DeviceSummary |
withDeviceStatus(DeviceStatus deviceStatus)
The status of the device.
|
DeviceSummary |
withDeviceStatus(String deviceStatus)
The status of the device.
|
public void setDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public String getDeviceId()
The ID of the device.
public DeviceSummary withDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public void setDeviceStatus(String deviceStatus)
The status of the device.
deviceStatus
- The status of the device.DeviceStatus
public String getDeviceStatus()
The status of the device.
DeviceStatus
public DeviceSummary withDeviceStatus(String deviceStatus)
The status of the device.
deviceStatus
- The status of the device.DeviceStatus
public DeviceSummary withDeviceStatus(DeviceStatus deviceStatus)
The status of the device.
deviceStatus
- The status of the device.DeviceStatus
public String toString()
toString
in class Object
Object.toString()
public DeviceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.