Interface DownlinkQueueMessage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DownlinkQueueMessage.Builder,,DownlinkQueueMessage> SdkBuilder<DownlinkQueueMessage.Builder,,DownlinkQueueMessage> SdkPojo
- Enclosing class:
DownlinkQueueMessage
@Mutable
@NotThreadSafe
public static interface DownlinkQueueMessage.Builder
extends SdkPojo, CopyableBuilder<DownlinkQueueMessage.Builder,DownlinkQueueMessage>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DownlinkQueueMessage.BuilderloRaWAN(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
0for UM (unacknowledge mode) or1for AM (acknowledge mode).- Parameters:
transmitMode- The transmit mode to use for sending data to the wireless device. This can be0for UM (unacknowledge mode) or1for 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.Builderavoiding the need to create one manually viaLoRaWANSendDataToDevice.builder().When the
Consumercompletes,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:
-