Struct aws_sdk_sns::operation::publish::builders::PublishOutputBuilder
source · #[non_exhaustive]pub struct PublishOutputBuilder { /* private fields */ }
Expand description
A builder for PublishOutput
.
Implementations§
source§impl PublishOutputBuilder
impl PublishOutputBuilder
sourcepub fn message_id(self, input: impl Into<String>) -> Self
pub fn message_id(self, input: impl Into<String>) -> Self
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
sourcepub fn set_message_id(self, input: Option<String>) -> Self
pub fn set_message_id(self, input: Option<String>) -> Self
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
sourcepub fn get_message_id(&self) -> &Option<String>
pub fn get_message_id(&self) -> &Option<String>
Unique identifier assigned to the published message.
Length Constraint: Maximum 100 characters
sourcepub fn sequence_number(self, input: impl Into<String>) -> Self
pub fn sequence_number(self, input: impl Into<String>) -> Self
This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for each MessageGroupId
.
sourcepub fn set_sequence_number(self, input: Option<String>) -> Self
pub fn set_sequence_number(self, input: Option<String>) -> Self
This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for each MessageGroupId
.
sourcepub fn get_sequence_number(&self) -> &Option<String>
pub fn get_sequence_number(&self) -> &Option<String>
This response element applies only to FIFO (first-in-first-out) topics.
The sequence number is a large, non-consecutive number that Amazon SNS assigns to each message. The length of SequenceNumber
is 128 bits. SequenceNumber
continues to increase for each MessageGroupId
.
sourcepub fn build(self) -> PublishOutput
pub fn build(self) -> PublishOutput
Consumes the builder and constructs a PublishOutput
.
Trait Implementations§
source§impl Clone for PublishOutputBuilder
impl Clone for PublishOutputBuilder
source§fn clone(&self) -> PublishOutputBuilder
fn clone(&self) -> PublishOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PublishOutputBuilder
impl Debug for PublishOutputBuilder
source§impl Default for PublishOutputBuilder
impl Default for PublishOutputBuilder
source§fn default() -> PublishOutputBuilder
fn default() -> PublishOutputBuilder
source§impl PartialEq for PublishOutputBuilder
impl PartialEq for PublishOutputBuilder
source§fn eq(&self, other: &PublishOutputBuilder) -> bool
fn eq(&self, other: &PublishOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.