Interface DownlinkQueueMessage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DownlinkQueueMessage.Builder,
,DownlinkQueueMessage> SdkBuilder<DownlinkQueueMessage.Builder,
,DownlinkQueueMessage> SdkPojo
- Enclosing class:
DownlinkQueueMessage
public static interface DownlinkQueueMessage.Builder
extends SdkPojo, CopyableBuilder<DownlinkQueueMessage.Builder,DownlinkQueueMessage>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DownlinkQueueMessage.Builder
loRaWAN
(Consumer<LoRaWANSendDataToDevice.Builder> loRaWAN) Sets the value of the LoRaWAN property for this object.loRaWAN
(LoRaWANSendDataToDevice loRaWAN) Sets the value of the LoRaWAN property for this object.The message ID assigned by IoT Wireless to each downlink message, which helps identify the message.receivedAt
(String receivedAt) The time at which Iot Wireless received the downlink message.transmitMode
(Integer transmitMode) The transmit mode to use for sending data to the wireless device.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
messageId
The message ID assigned by IoT Wireless to each downlink message, which helps identify the message.
- Parameters:
messageId
- The message ID assigned by IoT Wireless to each downlink message, which helps identify the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transmitMode
The transmit mode to use for sending data to the wireless device. This can be
0
for UM (unacknowledge mode) or1
for AM (acknowledge mode).- Parameters:
transmitMode
- The transmit mode to use for sending data to the wireless device. This can be0
for UM (unacknowledge mode) or1
for AM (acknowledge mode).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receivedAt
The time at which Iot Wireless received the downlink message.
- Parameters:
receivedAt
- The time at which Iot Wireless received the downlink message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loRaWAN
Sets the value of the LoRaWAN property for this object.- Parameters:
loRaWAN
- The new value for the LoRaWAN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loRaWAN
Sets the value of the LoRaWAN property for this object. This is a convenience method that creates an instance of theLoRaWANSendDataToDevice.Builder
avoiding the need to create one manually viaLoRaWANSendDataToDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toloRaWAN(LoRaWANSendDataToDevice)
.- Parameters:
loRaWAN
- a consumer that will call methods onLoRaWANSendDataToDevice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-