Struct aws_sdk_networkmanager::operation::associate_customer_gateway::builders::AssociateCustomerGatewayOutputBuilder
source · #[non_exhaustive]pub struct AssociateCustomerGatewayOutputBuilder { /* private fields */ }
Expand description
A builder for AssociateCustomerGatewayOutput
.
Implementations§
source§impl AssociateCustomerGatewayOutputBuilder
impl AssociateCustomerGatewayOutputBuilder
sourcepub fn customer_gateway_association(
self,
input: CustomerGatewayAssociation
) -> Self
pub fn customer_gateway_association( self, input: CustomerGatewayAssociation ) -> Self
The customer gateway association.
sourcepub fn set_customer_gateway_association(
self,
input: Option<CustomerGatewayAssociation>
) -> Self
pub fn set_customer_gateway_association( self, input: Option<CustomerGatewayAssociation> ) -> Self
The customer gateway association.
sourcepub fn get_customer_gateway_association(
&self
) -> &Option<CustomerGatewayAssociation>
pub fn get_customer_gateway_association( &self ) -> &Option<CustomerGatewayAssociation>
The customer gateway association.
sourcepub fn build(self) -> AssociateCustomerGatewayOutput
pub fn build(self) -> AssociateCustomerGatewayOutput
Consumes the builder and constructs a AssociateCustomerGatewayOutput
.
Trait Implementations§
source§impl Clone for AssociateCustomerGatewayOutputBuilder
impl Clone for AssociateCustomerGatewayOutputBuilder
source§fn clone(&self) -> AssociateCustomerGatewayOutputBuilder
fn clone(&self) -> AssociateCustomerGatewayOutputBuilder
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 AssociateCustomerGatewayOutputBuilder
impl Default for AssociateCustomerGatewayOutputBuilder
source§fn default() -> AssociateCustomerGatewayOutputBuilder
fn default() -> AssociateCustomerGatewayOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateCustomerGatewayOutputBuilder
impl PartialEq for AssociateCustomerGatewayOutputBuilder
source§fn eq(&self, other: &AssociateCustomerGatewayOutputBuilder) -> bool
fn eq(&self, other: &AssociateCustomerGatewayOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateCustomerGatewayOutputBuilder
Auto Trait Implementations§
impl Freeze for AssociateCustomerGatewayOutputBuilder
impl RefUnwindSafe for AssociateCustomerGatewayOutputBuilder
impl Send for AssociateCustomerGatewayOutputBuilder
impl Sync for AssociateCustomerGatewayOutputBuilder
impl Unpin for AssociateCustomerGatewayOutputBuilder
impl UnwindSafe for AssociateCustomerGatewayOutputBuilder
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.