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<ListRetainedMessagesOutputBuilder> for ListRetainedMessagesOutputBuilder
impl PartialEq<ListRetainedMessagesOutputBuilder> 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 ==
.