Struct aws_sdk_iotdataplane::operation::list_retained_messages::builders::ListRetainedMessagesOutputBuilder
source · #[non_exhaustive]pub struct ListRetainedMessagesOutputBuilder { /* private fields */ }
Expand description
A builder for ListRetainedMessagesOutput
.
Implementations§
source§impl ListRetainedMessagesOutputBuilder
impl ListRetainedMessagesOutputBuilder
sourcepub fn retained_topics(self, input: RetainedMessageSummary) -> Self
pub fn retained_topics(self, input: RetainedMessageSummary) -> Self
Appends an item to retained_topics
.
To override the contents of this collection use set_retained_topics
.
A summary list the account's retained messages. The information returned doesn't include the message payloads of the retained messages.
sourcepub fn set_retained_topics(
self,
input: Option<Vec<RetainedMessageSummary>>,
) -> Self
pub fn set_retained_topics( self, input: Option<Vec<RetainedMessageSummary>>, ) -> Self
A summary list the account's retained messages. The information returned doesn't include the message payloads of the retained messages.
sourcepub fn get_retained_topics(&self) -> &Option<Vec<RetainedMessageSummary>>
pub fn get_retained_topics(&self) -> &Option<Vec<RetainedMessageSummary>>
A summary list the account's retained messages. The information returned doesn't include the message payloads of the retained messages.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results, or null if there are no additional results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results, or null if there are no additional results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results, or null if there are no additional results.
sourcepub fn build(self) -> ListRetainedMessagesOutput
pub fn build(self) -> ListRetainedMessagesOutput
Consumes the builder and constructs a ListRetainedMessagesOutput
.
Trait Implementations§
source§impl Clone for ListRetainedMessagesOutputBuilder
impl Clone for ListRetainedMessagesOutputBuilder
source§fn clone(&self) -> ListRetainedMessagesOutputBuilder
fn clone(&self) -> ListRetainedMessagesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListRetainedMessagesOutputBuilder
impl Default for ListRetainedMessagesOutputBuilder
source§fn default() -> ListRetainedMessagesOutputBuilder
fn default() -> ListRetainedMessagesOutputBuilder
source§impl PartialEq for ListRetainedMessagesOutputBuilder
impl PartialEq for ListRetainedMessagesOutputBuilder
source§fn eq(&self, other: &ListRetainedMessagesOutputBuilder) -> bool
fn eq(&self, other: &ListRetainedMessagesOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListRetainedMessagesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListRetainedMessagesOutputBuilder
impl RefUnwindSafe for ListRetainedMessagesOutputBuilder
impl Send for ListRetainedMessagesOutputBuilder
impl Sync for ListRetainedMessagesOutputBuilder
impl Unpin for ListRetainedMessagesOutputBuilder
impl UnwindSafe for ListRetainedMessagesOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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