Struct aws_sdk_sqs::output::send_message_batch_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SendMessageBatchOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn successful(self, input: SendMessageBatchResultEntry) -> Self
pub fn successful(self, input: SendMessageBatchResultEntry) -> Self
Appends an item to successful
.
To override the contents of this collection use set_successful
.
A list of
items.SendMessageBatchResultEntry
sourcepub fn set_successful(
self,
input: Option<Vec<SendMessageBatchResultEntry>>
) -> Self
pub fn set_successful(
self,
input: Option<Vec<SendMessageBatchResultEntry>>
) -> Self
A list of
items.SendMessageBatchResultEntry
sourcepub fn failed(self, input: BatchResultErrorEntry) -> Self
pub fn failed(self, input: BatchResultErrorEntry) -> Self
Appends an item to failed
.
To override the contents of this collection use set_failed
.
A list of
items with error details about each message that can't be enqueued.BatchResultErrorEntry
sourcepub fn set_failed(self, input: Option<Vec<BatchResultErrorEntry>>) -> Self
pub fn set_failed(self, input: Option<Vec<BatchResultErrorEntry>>) -> Self
A list of
items with error details about each message that can't be enqueued.BatchResultErrorEntry
sourcepub fn build(self) -> SendMessageBatchOutput
pub fn build(self) -> SendMessageBatchOutput
Consumes the builder and constructs a SendMessageBatchOutput
.