Struct aws_sdk_sqs::input::send_message_batch_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SendMessageBatchInput
.
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 to which batched messages are sent.
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 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 build(self) -> Result<SendMessageBatchInput, BuildError>
pub fn build(self) -> Result<SendMessageBatchInput, BuildError>
Consumes the builder and constructs a SendMessageBatchInput
.