Struct aws_sdk_sqs::input::delete_message_batch_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteMessageBatchInput
.
Implementations§
source§impl Builder
impl Builder
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.
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 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
.
A list of 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
A list of 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
.