Struct aws_sdk_sqs::output::delete_message_batch_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteMessageBatchOutput
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> DeleteMessageBatchOutput
pub fn build(self) -> DeleteMessageBatchOutput
Consumes the builder and constructs a DeleteMessageBatchOutput
.