@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DownlinkQueueMessage extends Object implements Serializable, Cloneable, StructuredPojo
The message in downlink queue.
Constructor and Description |
---|
DownlinkQueueMessage() |
Modifier and Type | Method and Description |
---|---|
DownlinkQueueMessage |
clone() |
boolean |
equals(Object obj) |
LoRaWANSendDataToDevice |
getLoRaWAN() |
String |
getMessageId()
The messageId allocated by IoT Wireless for tracing purpose
|
String |
getReceivedAt()
The timestamp that Iot Wireless received the message.
|
Integer |
getTransmitMode()
The transmit mode to use to send data to the wireless device.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLoRaWAN(LoRaWANSendDataToDevice loRaWAN) |
void |
setMessageId(String messageId)
The messageId allocated by IoT Wireless for tracing purpose
|
void |
setReceivedAt(String receivedAt)
The timestamp that Iot Wireless received the message.
|
void |
setTransmitMode(Integer transmitMode)
The transmit mode to use to send data to the wireless device.
|
String |
toString()
Returns a string representation of this object.
|
DownlinkQueueMessage |
withLoRaWAN(LoRaWANSendDataToDevice loRaWAN) |
DownlinkQueueMessage |
withMessageId(String messageId)
The messageId allocated by IoT Wireless for tracing purpose
|
DownlinkQueueMessage |
withReceivedAt(String receivedAt)
The timestamp that Iot Wireless received the message.
|
DownlinkQueueMessage |
withTransmitMode(Integer transmitMode)
The transmit mode to use to send data to the wireless device.
|
public void setMessageId(String messageId)
The messageId allocated by IoT Wireless for tracing purpose
messageId
- The messageId allocated by IoT Wireless for tracing purposepublic String getMessageId()
The messageId allocated by IoT Wireless for tracing purpose
public DownlinkQueueMessage withMessageId(String messageId)
The messageId allocated by IoT Wireless for tracing purpose
messageId
- The messageId allocated by IoT Wireless for tracing purposepublic void setTransmitMode(Integer transmitMode)
The transmit mode to use to send data to the wireless device. Can be: 0
for UM (unacknowledge mode)
or 1
for AM (acknowledge mode).
transmitMode
- The transmit mode to use to send data to the wireless device. Can be: 0
for UM (unacknowledge
mode) or 1
for AM (acknowledge mode).public Integer getTransmitMode()
The transmit mode to use to send data to the wireless device. Can be: 0
for UM (unacknowledge mode)
or 1
for AM (acknowledge mode).
0
for UM
(unacknowledge mode) or 1
for AM (acknowledge mode).public DownlinkQueueMessage withTransmitMode(Integer transmitMode)
The transmit mode to use to send data to the wireless device. Can be: 0
for UM (unacknowledge mode)
or 1
for AM (acknowledge mode).
transmitMode
- The transmit mode to use to send data to the wireless device. Can be: 0
for UM (unacknowledge
mode) or 1
for AM (acknowledge mode).public void setReceivedAt(String receivedAt)
The timestamp that Iot Wireless received the message.
receivedAt
- The timestamp that Iot Wireless received the message.public String getReceivedAt()
The timestamp that Iot Wireless received the message.
public DownlinkQueueMessage withReceivedAt(String receivedAt)
The timestamp that Iot Wireless received the message.
receivedAt
- The timestamp that Iot Wireless received the message.public void setLoRaWAN(LoRaWANSendDataToDevice loRaWAN)
loRaWAN
- public LoRaWANSendDataToDevice getLoRaWAN()
public DownlinkQueueMessage withLoRaWAN(LoRaWANSendDataToDevice loRaWAN)
loRaWAN
- public String toString()
toString
in class Object
Object.toString()
public DownlinkQueueMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.