Struct aws_sdk_networkmanager::operation::create_transit_gateway_peering::builders::CreateTransitGatewayPeeringOutputBuilder
source · #[non_exhaustive]pub struct CreateTransitGatewayPeeringOutputBuilder { /* private fields */ }
Expand description
A builder for CreateTransitGatewayPeeringOutput
.
Implementations§
source§impl CreateTransitGatewayPeeringOutputBuilder
impl CreateTransitGatewayPeeringOutputBuilder
sourcepub fn transit_gateway_peering(self, input: TransitGatewayPeering) -> Self
pub fn transit_gateway_peering(self, input: TransitGatewayPeering) -> Self
Returns information about the transit gateway peering connection request.
sourcepub fn set_transit_gateway_peering(
self,
input: Option<TransitGatewayPeering>
) -> Self
pub fn set_transit_gateway_peering( self, input: Option<TransitGatewayPeering> ) -> Self
Returns information about the transit gateway peering connection request.
sourcepub fn get_transit_gateway_peering(&self) -> &Option<TransitGatewayPeering>
pub fn get_transit_gateway_peering(&self) -> &Option<TransitGatewayPeering>
Returns information about the transit gateway peering connection request.
sourcepub fn build(self) -> CreateTransitGatewayPeeringOutput
pub fn build(self) -> CreateTransitGatewayPeeringOutput
Consumes the builder and constructs a CreateTransitGatewayPeeringOutput
.
Trait Implementations§
source§impl Clone for CreateTransitGatewayPeeringOutputBuilder
impl Clone for CreateTransitGatewayPeeringOutputBuilder
source§fn clone(&self) -> CreateTransitGatewayPeeringOutputBuilder
fn clone(&self) -> CreateTransitGatewayPeeringOutputBuilder
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 CreateTransitGatewayPeeringOutputBuilder
impl Default for CreateTransitGatewayPeeringOutputBuilder
source§fn default() -> CreateTransitGatewayPeeringOutputBuilder
fn default() -> CreateTransitGatewayPeeringOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateTransitGatewayPeeringOutputBuilder
impl PartialEq for CreateTransitGatewayPeeringOutputBuilder
source§fn eq(&self, other: &CreateTransitGatewayPeeringOutputBuilder) -> bool
fn eq(&self, other: &CreateTransitGatewayPeeringOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTransitGatewayPeeringOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateTransitGatewayPeeringOutputBuilder
impl RefUnwindSafe for CreateTransitGatewayPeeringOutputBuilder
impl Send for CreateTransitGatewayPeeringOutputBuilder
impl Sync for CreateTransitGatewayPeeringOutputBuilder
impl Unpin for CreateTransitGatewayPeeringOutputBuilder
impl UnwindSafe for CreateTransitGatewayPeeringOutputBuilder
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.