Struct aws_sdk_networkmanager::operation::get_transit_gateway_connect_peer_associations::builders::GetTransitGatewayConnectPeerAssociationsOutputBuilder
source · #[non_exhaustive]pub struct GetTransitGatewayConnectPeerAssociationsOutputBuilder { /* private fields */ }
Expand description
A builder for GetTransitGatewayConnectPeerAssociationsOutput
.
Implementations§
source§impl GetTransitGatewayConnectPeerAssociationsOutputBuilder
impl GetTransitGatewayConnectPeerAssociationsOutputBuilder
sourcepub fn transit_gateway_connect_peer_associations(
self,
input: TransitGatewayConnectPeerAssociation
) -> Self
pub fn transit_gateway_connect_peer_associations( self, input: TransitGatewayConnectPeerAssociation ) -> Self
Appends an item to transit_gateway_connect_peer_associations
.
To override the contents of this collection use set_transit_gateway_connect_peer_associations
.
Information about the transit gateway Connect peer associations.
sourcepub fn set_transit_gateway_connect_peer_associations(
self,
input: Option<Vec<TransitGatewayConnectPeerAssociation>>
) -> Self
pub fn set_transit_gateway_connect_peer_associations( self, input: Option<Vec<TransitGatewayConnectPeerAssociation>> ) -> Self
Information about the transit gateway Connect peer associations.
sourcepub fn get_transit_gateway_connect_peer_associations(
&self
) -> &Option<Vec<TransitGatewayConnectPeerAssociation>>
pub fn get_transit_gateway_connect_peer_associations( &self ) -> &Option<Vec<TransitGatewayConnectPeerAssociation>>
Information about the transit gateway Connect peer associations.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use 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 to use for the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use for the next page of results.
sourcepub fn build(self) -> GetTransitGatewayConnectPeerAssociationsOutput
pub fn build(self) -> GetTransitGatewayConnectPeerAssociationsOutput
Consumes the builder and constructs a GetTransitGatewayConnectPeerAssociationsOutput
.
Trait Implementations§
source§impl Clone for GetTransitGatewayConnectPeerAssociationsOutputBuilder
impl Clone for GetTransitGatewayConnectPeerAssociationsOutputBuilder
source§fn clone(&self) -> GetTransitGatewayConnectPeerAssociationsOutputBuilder
fn clone(&self) -> GetTransitGatewayConnectPeerAssociationsOutputBuilder
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 GetTransitGatewayConnectPeerAssociationsOutputBuilder
impl Default for GetTransitGatewayConnectPeerAssociationsOutputBuilder
source§fn default() -> GetTransitGatewayConnectPeerAssociationsOutputBuilder
fn default() -> GetTransitGatewayConnectPeerAssociationsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetTransitGatewayConnectPeerAssociationsOutputBuilder
impl PartialEq for GetTransitGatewayConnectPeerAssociationsOutputBuilder
source§fn eq(
&self,
other: &GetTransitGatewayConnectPeerAssociationsOutputBuilder
) -> bool
fn eq( &self, other: &GetTransitGatewayConnectPeerAssociationsOutputBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTransitGatewayConnectPeerAssociationsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetTransitGatewayConnectPeerAssociationsOutputBuilder
impl RefUnwindSafe for GetTransitGatewayConnectPeerAssociationsOutputBuilder
impl Send for GetTransitGatewayConnectPeerAssociationsOutputBuilder
impl Sync for GetTransitGatewayConnectPeerAssociationsOutputBuilder
impl Unpin for GetTransitGatewayConnectPeerAssociationsOutputBuilder
impl UnwindSafe for GetTransitGatewayConnectPeerAssociationsOutputBuilder
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.