Struct aws_sdk_sqs::input::delete_message_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteMessageInput
.
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 from which messages are deleted.
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 from which messages are deleted.
Queue URLs and names are case-sensitive.
sourcepub fn receipt_handle(self, input: impl Into<String>) -> Self
pub fn receipt_handle(self, input: impl Into<String>) -> Self
The receipt handle associated with the message to delete.
sourcepub fn set_receipt_handle(self, input: Option<String>) -> Self
pub fn set_receipt_handle(self, input: Option<String>) -> Self
The receipt handle associated with the message to delete.
sourcepub fn build(self) -> Result<DeleteMessageInput, BuildError>
pub fn build(self) -> Result<DeleteMessageInput, BuildError>
Consumes the builder and constructs a DeleteMessageInput
.