Struct aws_sdk_sqs::output::send_message_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SendMessageOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn md5_of_message_body(self, input: impl Into<String>) -> Self
pub fn md5_of_message_body(self, input: impl Into<String>) -> Self
An MD5 digest of the non-URL-encoded message body string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
sourcepub fn set_md5_of_message_body(self, input: Option<String>) -> Self
pub fn set_md5_of_message_body(self, input: Option<String>) -> Self
An MD5 digest of the non-URL-encoded message body string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
sourcepub fn md5_of_message_attributes(self, input: impl Into<String>) -> Self
pub fn md5_of_message_attributes(self, input: impl Into<String>) -> Self
An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
sourcepub fn set_md5_of_message_attributes(self, input: Option<String>) -> Self
pub fn set_md5_of_message_attributes(self, input: Option<String>) -> Self
An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.
sourcepub fn md5_of_message_system_attributes(self, input: impl Into<String>) -> Self
pub fn md5_of_message_system_attributes(self, input: impl Into<String>) -> Self
An MD5 digest of the non-URL-encoded message system attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest.
sourcepub fn set_md5_of_message_system_attributes(self, input: Option<String>) -> Self
pub fn set_md5_of_message_system_attributes(self, input: Option<String>) -> Self
An MD5 digest of the non-URL-encoded message system attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest.
sourcepub fn message_id(self, input: impl Into<String>) -> Self
pub fn message_id(self, input: impl Into<String>) -> Self
An attribute containing the MessageId
of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.
sourcepub fn set_message_id(self, input: Option<String>) -> Self
pub fn set_message_id(self, input: Option<String>) -> Self
An attribute containing the MessageId
of the message sent to the queue. For more information, see Queue and Message Identifiers in the Amazon SQS Developer Guide.
sourcepub fn sequence_number(self, input: impl Into<String>) -> Self
pub fn sequence_number(self, input: impl Into<String>) -> Self
This parameter applies only to FIFO (first-in-first-out) queues.
The large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for a particular MessageGroupId
.
sourcepub fn set_sequence_number(self, input: Option<String>) -> Self
pub fn set_sequence_number(self, input: Option<String>) -> Self
This parameter applies only to FIFO (first-in-first-out) queues.
The large, non-consecutive number that Amazon SQS assigns to each message.
The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for a particular MessageGroupId
.
sourcepub fn build(self) -> SendMessageOutput
pub fn build(self) -> SendMessageOutput
Consumes the builder and constructs a SendMessageOutput
.