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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DownlinkQueueMessage.BuilderloRaWAN(Consumer<LoRaWANSendDataToDevice.Builder> loRaWAN)Sets the value of the LoRaWAN property for this object.DownlinkQueueMessage.BuilderloRaWAN(LoRaWANSendDataToDevice loRaWAN)Sets the value of the LoRaWAN property for this object.DownlinkQueueMessage.BuildermessageId(String messageId)The message ID assigned by IoT Wireless to each downlink message, which helps identify the message.DownlinkQueueMessage.BuilderreceivedAt(String receivedAt)The time at which Iot Wireless received the downlink message.DownlinkQueueMessage.BuildertransmitMode(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 Detail
-
messageId
DownlinkQueueMessage.Builder messageId(String 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
DownlinkQueueMessage.Builder transmitMode(Integer 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
DownlinkQueueMessage.Builder receivedAt(String 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
DownlinkQueueMessage.Builder loRaWAN(LoRaWANSendDataToDevice 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
default DownlinkQueueMessage.Builder loRaWAN(Consumer<LoRaWANSendDataToDevice.Builder> 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:
loRaWAN(LoRaWANSendDataToDevice)
-
-