Struct aws_sdk_iotwireless::operation::send_data_to_multicast_group::builders::SendDataToMulticastGroupInputBuilder
source · #[non_exhaustive]pub struct SendDataToMulticastGroupInputBuilder { /* private fields */ }Expand description
A builder for SendDataToMulticastGroupInput.
Implementations§
source§impl SendDataToMulticastGroupInputBuilder
impl SendDataToMulticastGroupInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the multicast group.
This field is required.sourcepub fn payload_data(self, input: impl Into<String>) -> Self
pub fn payload_data(self, input: impl Into<String>) -> Self
The binary to be sent to the end device, encoded in base64.
This field is required.sourcepub fn set_payload_data(self, input: Option<String>) -> Self
pub fn set_payload_data(self, input: Option<String>) -> Self
The binary to be sent to the end device, encoded in base64.
sourcepub fn get_payload_data(&self) -> &Option<String>
pub fn get_payload_data(&self) -> &Option<String>
The binary to be sent to the end device, encoded in base64.
sourcepub fn wireless_metadata(self, input: MulticastWirelessMetadata) -> Self
pub fn wireless_metadata(self, input: MulticastWirelessMetadata) -> Self
Wireless metadata that is to be sent to multicast group.
This field is required.sourcepub fn set_wireless_metadata(
self,
input: Option<MulticastWirelessMetadata>
) -> Self
pub fn set_wireless_metadata( self, input: Option<MulticastWirelessMetadata> ) -> Self
Wireless metadata that is to be sent to multicast group.
sourcepub fn get_wireless_metadata(&self) -> &Option<MulticastWirelessMetadata>
pub fn get_wireless_metadata(&self) -> &Option<MulticastWirelessMetadata>
Wireless metadata that is to be sent to multicast group.
sourcepub fn build(self) -> Result<SendDataToMulticastGroupInput, BuildError>
pub fn build(self) -> Result<SendDataToMulticastGroupInput, BuildError>
Consumes the builder and constructs a SendDataToMulticastGroupInput.
source§impl SendDataToMulticastGroupInputBuilder
impl SendDataToMulticastGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SendDataToMulticastGroupOutput, SdkError<SendDataToMulticastGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SendDataToMulticastGroupOutput, SdkError<SendDataToMulticastGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SendDataToMulticastGroupInputBuilder
impl Clone for SendDataToMulticastGroupInputBuilder
source§fn clone(&self) -> SendDataToMulticastGroupInputBuilder
fn clone(&self) -> SendDataToMulticastGroupInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for SendDataToMulticastGroupInputBuilder
impl Default for SendDataToMulticastGroupInputBuilder
source§fn default() -> SendDataToMulticastGroupInputBuilder
fn default() -> SendDataToMulticastGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SendDataToMulticastGroupInputBuilder
impl PartialEq for SendDataToMulticastGroupInputBuilder
source§fn eq(&self, other: &SendDataToMulticastGroupInputBuilder) -> bool
fn eq(&self, other: &SendDataToMulticastGroupInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SendDataToMulticastGroupInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SendDataToMulticastGroupInputBuilder
impl Send for SendDataToMulticastGroupInputBuilder
impl Sync for SendDataToMulticastGroupInputBuilder
impl Unpin for SendDataToMulticastGroupInputBuilder
impl UnwindSafe for SendDataToMulticastGroupInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.