Struct aws_sdk_sqs::operation::delete_message_batch::builders::DeleteMessageBatchOutputBuilder
source · #[non_exhaustive]pub struct DeleteMessageBatchOutputBuilder { /* private fields */ }
Expand description
A builder for DeleteMessageBatchOutput
.
Implementations§
source§impl DeleteMessageBatchOutputBuilder
impl DeleteMessageBatchOutputBuilder
sourcepub fn successful(self, input: DeleteMessageBatchResultEntry) -> Self
pub fn successful(self, input: DeleteMessageBatchResultEntry) -> Self
Appends an item to successful
.
To override the contents of this collection use set_successful
.
A list of
items.DeleteMessageBatchResultEntry
sourcepub fn set_successful(
self,
input: Option<Vec<DeleteMessageBatchResultEntry>>
) -> Self
pub fn set_successful( self, input: Option<Vec<DeleteMessageBatchResultEntry>> ) -> Self
A list of
items.DeleteMessageBatchResultEntry
sourcepub fn get_successful(&self) -> &Option<Vec<DeleteMessageBatchResultEntry>>
pub fn get_successful(&self) -> &Option<Vec<DeleteMessageBatchResultEntry>>
A list of
items.DeleteMessageBatchResultEntry
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.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.BatchResultErrorEntry
sourcepub fn get_failed(&self) -> &Option<Vec<BatchResultErrorEntry>>
pub fn get_failed(&self) -> &Option<Vec<BatchResultErrorEntry>>
A list of
items.BatchResultErrorEntry
sourcepub fn build(self) -> Result<DeleteMessageBatchOutput, BuildError>
pub fn build(self) -> Result<DeleteMessageBatchOutput, BuildError>
Consumes the builder and constructs a DeleteMessageBatchOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DeleteMessageBatchOutputBuilder
impl Clone for DeleteMessageBatchOutputBuilder
source§fn clone(&self) -> DeleteMessageBatchOutputBuilder
fn clone(&self) -> DeleteMessageBatchOutputBuilder
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 DeleteMessageBatchOutputBuilder
impl Default for DeleteMessageBatchOutputBuilder
source§fn default() -> DeleteMessageBatchOutputBuilder
fn default() -> DeleteMessageBatchOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteMessageBatchOutputBuilder
impl PartialEq for DeleteMessageBatchOutputBuilder
source§fn eq(&self, other: &DeleteMessageBatchOutputBuilder) -> bool
fn eq(&self, other: &DeleteMessageBatchOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteMessageBatchOutputBuilder
Auto Trait Implementations§
impl Freeze for DeleteMessageBatchOutputBuilder
impl RefUnwindSafe for DeleteMessageBatchOutputBuilder
impl Send for DeleteMessageBatchOutputBuilder
impl Sync for DeleteMessageBatchOutputBuilder
impl Unpin for DeleteMessageBatchOutputBuilder
impl UnwindSafe for DeleteMessageBatchOutputBuilder
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.