@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Device extends Object implements Serializable, Cloneable, StructuredPojo
A device with attributes.
Constructor and Description |
---|
Device() |
Modifier and Type | Method and Description |
---|---|
Device |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceArn()
The ARN of a device.
|
String |
getDeviceName()
The name of a device.
|
String |
getDeviceSerialNumber()
The serial number of a device.
|
String |
getDeviceStatus()
The status of a device.
|
DeviceStatusInfo |
getDeviceStatusInfo()
Detailed information about a device's status.
|
String |
getDeviceType()
The type of a device.
|
String |
getMacAddress()
The MAC address of a device.
|
String |
getRoomArn()
The room ARN of a device.
|
String |
getSoftwareVersion()
The software version of a device.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceArn(String deviceArn)
The ARN of a device.
|
void |
setDeviceName(String deviceName)
The name of a device.
|
void |
setDeviceSerialNumber(String deviceSerialNumber)
The serial number of a device.
|
void |
setDeviceStatus(String deviceStatus)
The status of a device.
|
void |
setDeviceStatusInfo(DeviceStatusInfo deviceStatusInfo)
Detailed information about a device's status.
|
void |
setDeviceType(String deviceType)
The type of a device.
|
void |
setMacAddress(String macAddress)
The MAC address of a device.
|
void |
setRoomArn(String roomArn)
The room ARN of a device.
|
void |
setSoftwareVersion(String softwareVersion)
The software version of a device.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Device |
withDeviceArn(String deviceArn)
The ARN of a device.
|
Device |
withDeviceName(String deviceName)
The name of a device.
|
Device |
withDeviceSerialNumber(String deviceSerialNumber)
The serial number of a device.
|
Device |
withDeviceStatus(DeviceStatus deviceStatus)
The status of a device.
|
Device |
withDeviceStatus(String deviceStatus)
The status of a device.
|
Device |
withDeviceStatusInfo(DeviceStatusInfo deviceStatusInfo)
Detailed information about a device's status.
|
Device |
withDeviceType(String deviceType)
The type of a device.
|
Device |
withMacAddress(String macAddress)
The MAC address of a device.
|
Device |
withRoomArn(String roomArn)
The room ARN of a device.
|
Device |
withSoftwareVersion(String softwareVersion)
The software version of a device.
|
public void setDeviceArn(String deviceArn)
The ARN of a device.
deviceArn
- The ARN of a device.public String getDeviceArn()
The ARN of a device.
public Device withDeviceArn(String deviceArn)
The ARN of a device.
deviceArn
- The ARN of a device.public void setDeviceSerialNumber(String deviceSerialNumber)
The serial number of a device.
deviceSerialNumber
- The serial number of a device.public String getDeviceSerialNumber()
The serial number of a device.
public Device withDeviceSerialNumber(String deviceSerialNumber)
The serial number of a device.
deviceSerialNumber
- The serial number of a device.public void setDeviceType(String deviceType)
The type of a device.
deviceType
- The type of a device.public String getDeviceType()
The type of a device.
public Device withDeviceType(String deviceType)
The type of a device.
deviceType
- The type of a device.public void setDeviceName(String deviceName)
The name of a device.
deviceName
- The name of a device.public String getDeviceName()
The name of a device.
public Device withDeviceName(String deviceName)
The name of a device.
deviceName
- The name of a device.public void setSoftwareVersion(String softwareVersion)
The software version of a device.
softwareVersion
- The software version of a device.public String getSoftwareVersion()
The software version of a device.
public Device withSoftwareVersion(String softwareVersion)
The software version of a device.
softwareVersion
- The software version of a device.public void setMacAddress(String macAddress)
The MAC address of a device.
macAddress
- The MAC address of a device.public String getMacAddress()
The MAC address of a device.
public Device withMacAddress(String macAddress)
The MAC address of a device.
macAddress
- The MAC address of a device.public void setRoomArn(String roomArn)
The room ARN of a device.
roomArn
- The room ARN of a device.public String getRoomArn()
The room ARN of a device.
public Device withRoomArn(String roomArn)
The room ARN of a device.
roomArn
- The room ARN of a device.public void setDeviceStatus(String deviceStatus)
The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.
deviceStatus
- The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.DeviceStatus
public String getDeviceStatus()
The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.
DeviceStatus
public Device withDeviceStatus(String deviceStatus)
The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.
deviceStatus
- The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.DeviceStatus
public Device withDeviceStatus(DeviceStatus deviceStatus)
The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.
deviceStatus
- The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.DeviceStatus
public void setDeviceStatusInfo(DeviceStatusInfo deviceStatusInfo)
Detailed information about a device's status.
deviceStatusInfo
- Detailed information about a device's status.public DeviceStatusInfo getDeviceStatusInfo()
Detailed information about a device's status.
public Device withDeviceStatusInfo(DeviceStatusInfo deviceStatusInfo)
Detailed information about a device's status.
deviceStatusInfo
- Detailed information about a device's status.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.