@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Device extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Device() |
Modifier and Type | Method and Description |
---|---|
Device |
clone() |
boolean |
equals(Object obj) |
Attributes |
getAttributes()
The user specified attributes associated with the device for an event.
|
String |
getDeviceId()
The unique identifier of the device.
|
String |
getType()
The device type, such as "button".
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Attributes attributes)
The user specified attributes associated with the device for an event.
|
void |
setDeviceId(String deviceId)
The unique identifier of the device.
|
void |
setType(String type)
The device type, such as "button".
|
String |
toString()
Returns a string representation of this object.
|
Device |
withAttributes(Attributes attributes)
The user specified attributes associated with the device for an event.
|
Device |
withDeviceId(String deviceId)
The unique identifier of the device.
|
Device |
withType(String type)
The device type, such as "button".
|
public void setAttributes(Attributes attributes)
The user specified attributes associated with the device for an event.
attributes
- The user specified attributes associated with the device for an event.public Attributes getAttributes()
The user specified attributes associated with the device for an event.
public Device withAttributes(Attributes attributes)
The user specified attributes associated with the device for an event.
attributes
- The user specified attributes associated with the device for an event.public void setDeviceId(String deviceId)
The unique identifier of the device.
deviceId
- The unique identifier of the device.public String getDeviceId()
The unique identifier of the device.
public Device withDeviceId(String deviceId)
The unique identifier of the device.
deviceId
- The unique identifier of the device.public void setType(String type)
The device type, such as "button".
type
- The device type, such as "button".public String getType()
The device type, such as "button".
public Device withType(String type)
The device type, such as "button".
type
- The device type, such as "button".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.