Struct aws_sdk_iotwireless::operation::delete_queued_messages::builders::DeleteQueuedMessagesInputBuilder
source · #[non_exhaustive]pub struct DeleteQueuedMessagesInputBuilder { /* private fields */ }Expand description
A builder for DeleteQueuedMessagesInput.
Implementations§
source§impl DeleteQueuedMessagesInputBuilder
impl DeleteQueuedMessagesInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of a given wireless device for which downlink messages will be deleted.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of a given wireless device for which downlink messages will be deleted.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The ID of a given wireless device for which downlink messages will be deleted.
sourcepub fn message_id(self, input: impl Into<String>) -> Self
pub fn message_id(self, input: impl Into<String>) -> Self
If message ID is "*", it cleares the entire downlink queue for a given device, specified by the wireless device ID. Otherwise, the downlink message with the specified message ID will be deleted.
sourcepub fn set_message_id(self, input: Option<String>) -> Self
pub fn set_message_id(self, input: Option<String>) -> Self
If message ID is "*", it cleares the entire downlink queue for a given device, specified by the wireless device ID. Otherwise, the downlink message with the specified message ID will be deleted.
sourcepub fn get_message_id(&self) -> &Option<String>
pub fn get_message_id(&self) -> &Option<String>
If message ID is "*", it cleares the entire downlink queue for a given device, specified by the wireless device ID. Otherwise, the downlink message with the specified message ID will be deleted.
sourcepub fn wireless_device_type(self, input: WirelessDeviceType) -> Self
pub fn wireless_device_type(self, input: WirelessDeviceType) -> Self
The wireless device type, which can be either Sidewalk or LoRaWAN.
sourcepub fn set_wireless_device_type(self, input: Option<WirelessDeviceType>) -> Self
pub fn set_wireless_device_type(self, input: Option<WirelessDeviceType>) -> Self
The wireless device type, which can be either Sidewalk or LoRaWAN.
sourcepub fn get_wireless_device_type(&self) -> &Option<WirelessDeviceType>
pub fn get_wireless_device_type(&self) -> &Option<WirelessDeviceType>
The wireless device type, which can be either Sidewalk or LoRaWAN.
sourcepub fn build(self) -> Result<DeleteQueuedMessagesInput, BuildError>
pub fn build(self) -> Result<DeleteQueuedMessagesInput, BuildError>
Consumes the builder and constructs a DeleteQueuedMessagesInput.
source§impl DeleteQueuedMessagesInputBuilder
impl DeleteQueuedMessagesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteQueuedMessagesOutput, SdkError<DeleteQueuedMessagesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteQueuedMessagesOutput, SdkError<DeleteQueuedMessagesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteQueuedMessagesInputBuilder
impl Clone for DeleteQueuedMessagesInputBuilder
source§fn clone(&self) -> DeleteQueuedMessagesInputBuilder
fn clone(&self) -> DeleteQueuedMessagesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeleteQueuedMessagesInputBuilder
impl Default for DeleteQueuedMessagesInputBuilder
source§fn default() -> DeleteQueuedMessagesInputBuilder
fn default() -> DeleteQueuedMessagesInputBuilder
source§impl PartialEq for DeleteQueuedMessagesInputBuilder
impl PartialEq for DeleteQueuedMessagesInputBuilder
source§fn eq(&self, other: &DeleteQueuedMessagesInputBuilder) -> bool
fn eq(&self, other: &DeleteQueuedMessagesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.