#[non_exhaustive]pub struct SendMessageBatchOutputBuilder { /* private fields */ }Expand description
A builder for SendMessageBatchOutput.
Implementations§
source§impl SendMessageBatchOutputBuilder
impl SendMessageBatchOutputBuilder
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.
Trait Implementations§
source§impl Clone for SendMessageBatchOutputBuilder
impl Clone for SendMessageBatchOutputBuilder
source§fn clone(&self) -> SendMessageBatchOutputBuilder
fn clone(&self) -> SendMessageBatchOutputBuilder
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 SendMessageBatchOutputBuilder
impl Default for SendMessageBatchOutputBuilder
source§fn default() -> SendMessageBatchOutputBuilder
fn default() -> SendMessageBatchOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SendMessageBatchOutputBuilder> for SendMessageBatchOutputBuilder
impl PartialEq<SendMessageBatchOutputBuilder> for SendMessageBatchOutputBuilder
source§fn eq(&self, other: &SendMessageBatchOutputBuilder) -> bool
fn eq(&self, other: &SendMessageBatchOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.