#[non_exhaustive]pub struct CustomerGatewayAssociationBuilder { /* private fields */ }
Expand description
A builder for CustomerGatewayAssociation
.
Implementations§
source§impl CustomerGatewayAssociationBuilder
impl CustomerGatewayAssociationBuilder
sourcepub fn customer_gateway_arn(self, input: impl Into<String>) -> Self
pub fn customer_gateway_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the customer gateway.
sourcepub fn set_customer_gateway_arn(self, input: Option<String>) -> Self
pub fn set_customer_gateway_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the customer gateway.
sourcepub fn get_customer_gateway_arn(&self) -> &Option<String>
pub fn get_customer_gateway_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the customer gateway.
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network.
sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network.
sourcepub fn get_global_network_id(&self) -> &Option<String>
pub fn get_global_network_id(&self) -> &Option<String>
The ID of the global network.
sourcepub fn set_device_id(self, input: Option<String>) -> Self
pub fn set_device_id(self, input: Option<String>) -> Self
The ID of the device.
sourcepub fn get_device_id(&self) -> &Option<String>
pub fn get_device_id(&self) -> &Option<String>
The ID of the device.
sourcepub fn set_link_id(self, input: Option<String>) -> Self
pub fn set_link_id(self, input: Option<String>) -> Self
The ID of the link.
sourcepub fn get_link_id(&self) -> &Option<String>
pub fn get_link_id(&self) -> &Option<String>
The ID of the link.
sourcepub fn state(self, input: CustomerGatewayAssociationState) -> Self
pub fn state(self, input: CustomerGatewayAssociationState) -> Self
The association state.
sourcepub fn set_state(self, input: Option<CustomerGatewayAssociationState>) -> Self
pub fn set_state(self, input: Option<CustomerGatewayAssociationState>) -> Self
The association state.
sourcepub fn get_state(&self) -> &Option<CustomerGatewayAssociationState>
pub fn get_state(&self) -> &Option<CustomerGatewayAssociationState>
The association state.
sourcepub fn build(self) -> CustomerGatewayAssociation
pub fn build(self) -> CustomerGatewayAssociation
Consumes the builder and constructs a CustomerGatewayAssociation
.
Trait Implementations§
source§impl Clone for CustomerGatewayAssociationBuilder
impl Clone for CustomerGatewayAssociationBuilder
source§fn clone(&self) -> CustomerGatewayAssociationBuilder
fn clone(&self) -> CustomerGatewayAssociationBuilder
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 CustomerGatewayAssociationBuilder
impl Default for CustomerGatewayAssociationBuilder
source§fn default() -> CustomerGatewayAssociationBuilder
fn default() -> CustomerGatewayAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CustomerGatewayAssociationBuilder
impl PartialEq for CustomerGatewayAssociationBuilder
source§fn eq(&self, other: &CustomerGatewayAssociationBuilder) -> bool
fn eq(&self, other: &CustomerGatewayAssociationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomerGatewayAssociationBuilder
Auto Trait Implementations§
impl Freeze for CustomerGatewayAssociationBuilder
impl RefUnwindSafe for CustomerGatewayAssociationBuilder
impl Send for CustomerGatewayAssociationBuilder
impl Sync for CustomerGatewayAssociationBuilder
impl Unpin for CustomerGatewayAssociationBuilder
impl UnwindSafe for CustomerGatewayAssociationBuilder
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.