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 Details

    • 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 0 for UM (unacknowledge mode) or 1 for AM (acknowledge mode).

      Parameters:
      transmitMode - The transmit mode to use for sending data to the wireless device. This can be 0 for UM (unacknowledge mode) or 1 for 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

      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 the LoRaWANSendDataToDevice.Builder avoiding the need to create one manually via LoRaWANSendDataToDevice.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to loRaWAN(LoRaWANSendDataToDevice).

      Parameters:
      loRaWAN - a consumer that will call methods on LoRaWANSendDataToDevice.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: