Struct aws_sdk_networkmanager::operation::list_peerings::builders::ListPeeringsOutputBuilder
source · #[non_exhaustive]pub struct ListPeeringsOutputBuilder { /* private fields */ }Expand description
A builder for ListPeeringsOutput.
Implementations§
source§impl ListPeeringsOutputBuilder
impl ListPeeringsOutputBuilder
sourcepub fn peerings(self, input: Peering) -> Self
pub fn peerings(self, input: Peering) -> Self
Appends an item to peerings.
To override the contents of this collection use set_peerings.
Lists the transit gateway peerings for the ListPeerings request.
sourcepub fn set_peerings(self, input: Option<Vec<Peering>>) -> Self
pub fn set_peerings(self, input: Option<Vec<Peering>>) -> Self
Lists the transit gateway peerings for the ListPeerings request.
sourcepub fn get_peerings(&self) -> &Option<Vec<Peering>>
pub fn get_peerings(&self) -> &Option<Vec<Peering>>
Lists the transit gateway peerings for the ListPeerings request.
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) -> ListPeeringsOutput
pub fn build(self) -> ListPeeringsOutput
Consumes the builder and constructs a ListPeeringsOutput.
Trait Implementations§
source§impl Clone for ListPeeringsOutputBuilder
impl Clone for ListPeeringsOutputBuilder
source§fn clone(&self) -> ListPeeringsOutputBuilder
fn clone(&self) -> ListPeeringsOutputBuilder
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 ListPeeringsOutputBuilder
impl Debug for ListPeeringsOutputBuilder
source§impl Default for ListPeeringsOutputBuilder
impl Default for ListPeeringsOutputBuilder
source§fn default() -> ListPeeringsOutputBuilder
fn default() -> ListPeeringsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListPeeringsOutputBuilder
impl PartialEq for ListPeeringsOutputBuilder
source§fn eq(&self, other: &ListPeeringsOutputBuilder) -> bool
fn eq(&self, other: &ListPeeringsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListPeeringsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListPeeringsOutputBuilder
impl RefUnwindSafe for ListPeeringsOutputBuilder
impl Send for ListPeeringsOutputBuilder
impl Sync for ListPeeringsOutputBuilder
impl Unpin for ListPeeringsOutputBuilder
impl UnwindSafe for ListPeeringsOutputBuilder
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.