#[non_exhaustive]pub struct ListBrokersOutputBuilder { /* private fields */ }Expand description
A builder for ListBrokersOutput.
Implementations§
source§impl ListBrokersOutputBuilder
impl ListBrokersOutputBuilder
sourcepub fn broker_summaries(self, input: BrokerSummary) -> Self
pub fn broker_summaries(self, input: BrokerSummary) -> Self
Appends an item to broker_summaries.
To override the contents of this collection use set_broker_summaries.
A list of information about all brokers.
sourcepub fn set_broker_summaries(self, input: Option<Vec<BrokerSummary>>) -> Self
pub fn set_broker_summaries(self, input: Option<Vec<BrokerSummary>>) -> Self
A list of information about all brokers.
sourcepub fn get_broker_summaries(&self) -> &Option<Vec<BrokerSummary>>
pub fn get_broker_summaries(&self) -> &Option<Vec<BrokerSummary>>
A list of information about all brokers.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
sourcepub fn build(self) -> ListBrokersOutput
pub fn build(self) -> ListBrokersOutput
Consumes the builder and constructs a ListBrokersOutput.
Trait Implementations§
source§impl Clone for ListBrokersOutputBuilder
impl Clone for ListBrokersOutputBuilder
source§fn clone(&self) -> ListBrokersOutputBuilder
fn clone(&self) -> ListBrokersOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ListBrokersOutputBuilder
impl Debug for ListBrokersOutputBuilder
source§impl Default for ListBrokersOutputBuilder
impl Default for ListBrokersOutputBuilder
source§fn default() -> ListBrokersOutputBuilder
fn default() -> ListBrokersOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListBrokersOutputBuilder
impl PartialEq for ListBrokersOutputBuilder
source§fn eq(&self, other: &ListBrokersOutputBuilder) -> bool
fn eq(&self, other: &ListBrokersOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListBrokersOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListBrokersOutputBuilder
impl Send for ListBrokersOutputBuilder
impl Sync for ListBrokersOutputBuilder
impl Unpin for ListBrokersOutputBuilder
impl UnwindSafe for ListBrokersOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.