Struct aws_sdk_sqs::operation::delete_message_batch::builders::DeleteMessageBatchInputBuilder
source · #[non_exhaustive]pub struct DeleteMessageBatchInputBuilder { /* private fields */ }
Expand description
A builder for DeleteMessageBatchInput
.
Implementations§
source§impl DeleteMessageBatchInputBuilder
impl DeleteMessageBatchInputBuilder
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 from which messages are deleted.
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 from which messages are deleted.
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 from which messages are deleted.
Queue URLs and names are case-sensitive.
sourcepub fn entries(self, input: DeleteMessageBatchRequestEntry) -> Self
pub fn entries(self, input: DeleteMessageBatchRequestEntry) -> Self
Appends an item to entries
.
To override the contents of this collection use set_entries
.
Lists the receipt handles for the messages to be deleted.
sourcepub fn set_entries(
self,
input: Option<Vec<DeleteMessageBatchRequestEntry>>
) -> Self
pub fn set_entries( self, input: Option<Vec<DeleteMessageBatchRequestEntry>> ) -> Self
Lists the receipt handles for the messages to be deleted.
sourcepub fn get_entries(&self) -> &Option<Vec<DeleteMessageBatchRequestEntry>>
pub fn get_entries(&self) -> &Option<Vec<DeleteMessageBatchRequestEntry>>
Lists the receipt handles for the messages to be deleted.
sourcepub fn build(self) -> Result<DeleteMessageBatchInput, BuildError>
pub fn build(self) -> Result<DeleteMessageBatchInput, BuildError>
Consumes the builder and constructs a DeleteMessageBatchInput
.
source§impl DeleteMessageBatchInputBuilder
impl DeleteMessageBatchInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteMessageBatchOutput, SdkError<DeleteMessageBatchError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteMessageBatchOutput, SdkError<DeleteMessageBatchError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteMessageBatchInputBuilder
impl Clone for DeleteMessageBatchInputBuilder
source§fn clone(&self) -> DeleteMessageBatchInputBuilder
fn clone(&self) -> DeleteMessageBatchInputBuilder
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 DeleteMessageBatchInputBuilder
impl Default for DeleteMessageBatchInputBuilder
source§fn default() -> DeleteMessageBatchInputBuilder
fn default() -> DeleteMessageBatchInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteMessageBatchInputBuilder
impl PartialEq for DeleteMessageBatchInputBuilder
source§fn eq(&self, other: &DeleteMessageBatchInputBuilder) -> bool
fn eq(&self, other: &DeleteMessageBatchInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteMessageBatchInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteMessageBatchInputBuilder
impl RefUnwindSafe for DeleteMessageBatchInputBuilder
impl Send for DeleteMessageBatchInputBuilder
impl Sync for DeleteMessageBatchInputBuilder
impl Unpin for DeleteMessageBatchInputBuilder
impl UnwindSafe for DeleteMessageBatchInputBuilder
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.