Struct aws_sdk_networkmanager::operation::list_connect_peers::builders::ListConnectPeersOutputBuilder
source · #[non_exhaustive]pub struct ListConnectPeersOutputBuilder { /* private fields */ }
Expand description
A builder for ListConnectPeersOutput
.
Implementations§
source§impl ListConnectPeersOutputBuilder
impl ListConnectPeersOutputBuilder
sourcepub fn connect_peers(self, input: ConnectPeerSummary) -> Self
pub fn connect_peers(self, input: ConnectPeerSummary) -> Self
Appends an item to connect_peers
.
To override the contents of this collection use set_connect_peers
.
Describes the Connect peers.
sourcepub fn set_connect_peers(self, input: Option<Vec<ConnectPeerSummary>>) -> Self
pub fn set_connect_peers(self, input: Option<Vec<ConnectPeerSummary>>) -> Self
Describes the Connect peers.
sourcepub fn get_connect_peers(&self) -> &Option<Vec<ConnectPeerSummary>>
pub fn get_connect_peers(&self) -> &Option<Vec<ConnectPeerSummary>>
Describes the Connect peers.
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 page of 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 page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next page of results.
sourcepub fn build(self) -> ListConnectPeersOutput
pub fn build(self) -> ListConnectPeersOutput
Consumes the builder and constructs a ListConnectPeersOutput
.
Trait Implementations§
source§impl Clone for ListConnectPeersOutputBuilder
impl Clone for ListConnectPeersOutputBuilder
source§fn clone(&self) -> ListConnectPeersOutputBuilder
fn clone(&self) -> ListConnectPeersOutputBuilder
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 Default for ListConnectPeersOutputBuilder
impl Default for ListConnectPeersOutputBuilder
source§fn default() -> ListConnectPeersOutputBuilder
fn default() -> ListConnectPeersOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListConnectPeersOutputBuilder
impl PartialEq for ListConnectPeersOutputBuilder
source§fn eq(&self, other: &ListConnectPeersOutputBuilder) -> bool
fn eq(&self, other: &ListConnectPeersOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListConnectPeersOutputBuilder
Auto Trait Implementations§
impl Freeze for ListConnectPeersOutputBuilder
impl RefUnwindSafe for ListConnectPeersOutputBuilder
impl Send for ListConnectPeersOutputBuilder
impl Sync for ListConnectPeersOutputBuilder
impl Unpin for ListConnectPeersOutputBuilder
impl UnwindSafe for ListConnectPeersOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.