Struct aws_sdk_sqs::model::send_message_batch_result_entry::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SendMessageBatchResultEntry
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
An identifier for the message in this batch.
sourcepub fn message_id(self, input: impl Into<String>) -> Self
pub fn message_id(self, input: impl Into<String>) -> Self
An identifier for the message.
sourcepub fn set_message_id(self, input: Option<String>) -> Self
pub fn set_message_id(self, input: Option<String>) -> Self
An identifier for the message.
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. For information about MD5, see RFC1321.
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. For information about MD5, see RFC1321.
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. As 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. As SequenceNumber
continues to increase for a particular MessageGroupId
.
sourcepub fn build(self) -> SendMessageBatchResultEntry
pub fn build(self) -> SendMessageBatchResultEntry
Consumes the builder and constructs a SendMessageBatchResultEntry
.