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 ==
.impl StructuralPartialEq for PublishOutputBuilder
Auto Trait Implementations§
impl Freeze for PublishOutputBuilder
impl RefUnwindSafe for PublishOutputBuilder
impl Send for PublishOutputBuilder
impl Sync for PublishOutputBuilder
impl Unpin for PublishOutputBuilder
impl UnwindSafe for PublishOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more