@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Device extends Object implements Serializable, Cloneable, StructuredPojo
Information of a particular device.
| Constructor and Description |
|---|
Device() |
| Modifier and Type | Method and Description |
|---|---|
Device |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
Description of the device.
|
String |
getDeviceName()
The name of the device.
|
String |
getIotThingName()
Amazon Web Services Internet of Things (IoT) object name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDescription(String description)
Description of the device.
|
void |
setDeviceName(String deviceName)
The name of the device.
|
void |
setIotThingName(String iotThingName)
Amazon Web Services Internet of Things (IoT) object name.
|
String |
toString()
Returns a string representation of this object.
|
Device |
withDescription(String description)
Description of the device.
|
Device |
withDeviceName(String deviceName)
The name of the device.
|
Device |
withIotThingName(String iotThingName)
Amazon Web Services Internet of Things (IoT) object name.
|
public void setDeviceName(String deviceName)
The name of the device.
deviceName - The name of the device.public String getDeviceName()
The name of the device.
public Device withDeviceName(String deviceName)
The name of the device.
deviceName - The name of the device.public void setDescription(String description)
Description of the device.
description - Description of the device.public String getDescription()
Description of the device.
public Device withDescription(String description)
Description of the device.
description - Description of the device.public void setIotThingName(String iotThingName)
Amazon Web Services Internet of Things (IoT) object name.
iotThingName - Amazon Web Services Internet of Things (IoT) object name.public String getIotThingName()
Amazon Web Services Internet of Things (IoT) object name.
public Device withIotThingName(String iotThingName)
Amazon Web Services Internet of Things (IoT) object name.
iotThingName - Amazon Web Services Internet of Things (IoT) object name.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.