#[non_exhaustive]pub struct SendMessageBatchInputBuilder { /* private fields */ }
Expand description
A builder for SendMessageBatchInput
.
Implementations§
source§impl SendMessageBatchInputBuilder
impl SendMessageBatchInputBuilder
sourcepub fn queue_url(self, input: impl Into<String>) -> Self
pub fn queue_url(self, input: impl Into<String>) -> Self
The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
This field is required.sourcepub fn set_queue_url(self, input: Option<String>) -> Self
pub fn set_queue_url(self, input: Option<String>) -> Self
The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
sourcepub fn get_queue_url(&self) -> &Option<String>
pub fn get_queue_url(&self) -> &Option<String>
The URL of the Amazon SQS queue to which batched messages are sent.
Queue URLs and names are case-sensitive.
sourcepub fn entries(self, input: SendMessageBatchRequestEntry) -> Self
pub fn entries(self, input: SendMessageBatchRequestEntry) -> Self
Appends an item to entries
.
To override the contents of this collection use set_entries
.
A list of
items.SendMessageBatchRequestEntry
sourcepub fn set_entries(
self,
input: Option<Vec<SendMessageBatchRequestEntry>>
) -> Self
pub fn set_entries( self, input: Option<Vec<SendMessageBatchRequestEntry>> ) -> Self
A list of
items.SendMessageBatchRequestEntry
sourcepub fn get_entries(&self) -> &Option<Vec<SendMessageBatchRequestEntry>>
pub fn get_entries(&self) -> &Option<Vec<SendMessageBatchRequestEntry>>
A list of
items.SendMessageBatchRequestEntry
sourcepub fn build(self) -> Result<SendMessageBatchInput, BuildError>
pub fn build(self) -> Result<SendMessageBatchInput, BuildError>
Consumes the builder and constructs a SendMessageBatchInput
.
source§impl SendMessageBatchInputBuilder
impl SendMessageBatchInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SendMessageBatchOutput, SdkError<SendMessageBatchError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SendMessageBatchOutput, SdkError<SendMessageBatchError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SendMessageBatchInputBuilder
impl Clone for SendMessageBatchInputBuilder
source§fn clone(&self) -> SendMessageBatchInputBuilder
fn clone(&self) -> SendMessageBatchInputBuilder
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 Debug for SendMessageBatchInputBuilder
impl Debug for SendMessageBatchInputBuilder
source§impl Default for SendMessageBatchInputBuilder
impl Default for SendMessageBatchInputBuilder
source§fn default() -> SendMessageBatchInputBuilder
fn default() -> SendMessageBatchInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SendMessageBatchInputBuilder
impl PartialEq for SendMessageBatchInputBuilder
source§fn eq(&self, other: &SendMessageBatchInputBuilder) -> bool
fn eq(&self, other: &SendMessageBatchInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SendMessageBatchInputBuilder
Auto Trait Implementations§
impl Freeze for SendMessageBatchInputBuilder
impl RefUnwindSafe for SendMessageBatchInputBuilder
impl Send for SendMessageBatchInputBuilder
impl Sync for SendMessageBatchInputBuilder
impl Unpin for SendMessageBatchInputBuilder
impl UnwindSafe for SendMessageBatchInputBuilder
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.