@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceEvent extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
DeviceEvent() |
Modifier and Type | Method and Description |
---|---|
DeviceEvent |
clone() |
boolean |
equals(Object obj) |
Device |
getDevice()
An object representing the device associated with the event.
|
String |
getStdEvent()
A serialized JSON object representing the device-type specific event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDevice(Device device)
An object representing the device associated with the event.
|
void |
setStdEvent(String stdEvent)
A serialized JSON object representing the device-type specific event.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeviceEvent |
withDevice(Device device)
An object representing the device associated with the event.
|
DeviceEvent |
withStdEvent(String stdEvent)
A serialized JSON object representing the device-type specific event.
|
public void setDevice(Device device)
An object representing the device associated with the event.
device
- An object representing the device associated with the event.public Device getDevice()
An object representing the device associated with the event.
public DeviceEvent withDevice(Device device)
An object representing the device associated with the event.
device
- An object representing the device associated with the event.public void setStdEvent(String stdEvent)
A serialized JSON object representing the device-type specific event.
stdEvent
- A serialized JSON object representing the device-type specific event.public String getStdEvent()
A serialized JSON object representing the device-type specific event.
public DeviceEvent withStdEvent(String stdEvent)
A serialized JSON object representing the device-type specific event.
stdEvent
- A serialized JSON object representing the device-type specific event.public String toString()
toString
in class Object
Object.toString()
public DeviceEvent clone()
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.