#[non_exhaustive]pub struct DirectConnectGatewayAssociationBuilder { /* private fields */ }Expand description
A builder for DirectConnectGatewayAssociation.
Implementations§
source§impl DirectConnectGatewayAssociationBuilder
impl DirectConnectGatewayAssociationBuilder
sourcepub fn direct_connect_gateway_id(self, input: impl Into<String>) -> Self
pub fn direct_connect_gateway_id(self, input: impl Into<String>) -> Self
The ID of the Direct Connect gateway.
sourcepub fn set_direct_connect_gateway_id(self, input: Option<String>) -> Self
pub fn set_direct_connect_gateway_id(self, input: Option<String>) -> Self
The ID of the Direct Connect gateway.
sourcepub fn get_direct_connect_gateway_id(&self) -> &Option<String>
pub fn get_direct_connect_gateway_id(&self) -> &Option<String>
The ID of the Direct Connect gateway.
sourcepub fn direct_connect_gateway_owner_account(
self,
input: impl Into<String>
) -> Self
pub fn direct_connect_gateway_owner_account( self, input: impl Into<String> ) -> Self
The ID of the Amazon Web Services account that owns the associated gateway.
sourcepub fn set_direct_connect_gateway_owner_account(
self,
input: Option<String>
) -> Self
pub fn set_direct_connect_gateway_owner_account( self, input: Option<String> ) -> Self
The ID of the Amazon Web Services account that owns the associated gateway.
sourcepub fn get_direct_connect_gateway_owner_account(&self) -> &Option<String>
pub fn get_direct_connect_gateway_owner_account(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the associated gateway.
sourcepub fn association_state(
self,
input: DirectConnectGatewayAssociationState
) -> Self
pub fn association_state( self, input: DirectConnectGatewayAssociationState ) -> Self
The state of the association. The following are the possible values:
-
associating: The initial state after callingCreateDirectConnectGatewayAssociation. -
associated: The Direct Connect gateway and virtual private gateway or transit gateway are successfully associated and ready to pass traffic. -
disassociating: The initial state after callingDeleteDirectConnectGatewayAssociation. -
disassociated: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped. -
updating: The CIDR blocks for the virtual private gateway or transit gateway are currently being updated. This could be new CIDR blocks added or current CIDR blocks removed.
sourcepub fn set_association_state(
self,
input: Option<DirectConnectGatewayAssociationState>
) -> Self
pub fn set_association_state( self, input: Option<DirectConnectGatewayAssociationState> ) -> Self
The state of the association. The following are the possible values:
-
associating: The initial state after callingCreateDirectConnectGatewayAssociation. -
associated: The Direct Connect gateway and virtual private gateway or transit gateway are successfully associated and ready to pass traffic. -
disassociating: The initial state after callingDeleteDirectConnectGatewayAssociation. -
disassociated: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped. -
updating: The CIDR blocks for the virtual private gateway or transit gateway are currently being updated. This could be new CIDR blocks added or current CIDR blocks removed.
sourcepub fn get_association_state(
&self
) -> &Option<DirectConnectGatewayAssociationState>
pub fn get_association_state( &self ) -> &Option<DirectConnectGatewayAssociationState>
The state of the association. The following are the possible values:
-
associating: The initial state after callingCreateDirectConnectGatewayAssociation. -
associated: The Direct Connect gateway and virtual private gateway or transit gateway are successfully associated and ready to pass traffic. -
disassociating: The initial state after callingDeleteDirectConnectGatewayAssociation. -
disassociated: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped. -
updating: The CIDR blocks for the virtual private gateway or transit gateway are currently being updated. This could be new CIDR blocks added or current CIDR blocks removed.
sourcepub fn state_change_error(self, input: impl Into<String>) -> Self
pub fn state_change_error(self, input: impl Into<String>) -> Self
The error message if the state of an object failed to advance.
sourcepub fn set_state_change_error(self, input: Option<String>) -> Self
pub fn set_state_change_error(self, input: Option<String>) -> Self
The error message if the state of an object failed to advance.
sourcepub fn get_state_change_error(&self) -> &Option<String>
pub fn get_state_change_error(&self) -> &Option<String>
The error message if the state of an object failed to advance.
sourcepub fn associated_gateway(self, input: AssociatedGateway) -> Self
pub fn associated_gateway(self, input: AssociatedGateway) -> Self
Information about the associated gateway.
sourcepub fn set_associated_gateway(self, input: Option<AssociatedGateway>) -> Self
pub fn set_associated_gateway(self, input: Option<AssociatedGateway>) -> Self
Information about the associated gateway.
sourcepub fn get_associated_gateway(&self) -> &Option<AssociatedGateway>
pub fn get_associated_gateway(&self) -> &Option<AssociatedGateway>
Information about the associated gateway.
sourcepub fn association_id(self, input: impl Into<String>) -> Self
pub fn association_id(self, input: impl Into<String>) -> Self
The ID of the Direct Connect gateway association.
sourcepub fn set_association_id(self, input: Option<String>) -> Self
pub fn set_association_id(self, input: Option<String>) -> Self
The ID of the Direct Connect gateway association.
sourcepub fn get_association_id(&self) -> &Option<String>
pub fn get_association_id(&self) -> &Option<String>
The ID of the Direct Connect gateway association.
sourcepub fn allowed_prefixes_to_direct_connect_gateway(
self,
input: RouteFilterPrefix
) -> Self
pub fn allowed_prefixes_to_direct_connect_gateway( self, input: RouteFilterPrefix ) -> Self
Appends an item to allowed_prefixes_to_direct_connect_gateway.
To override the contents of this collection use set_allowed_prefixes_to_direct_connect_gateway.
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
sourcepub fn set_allowed_prefixes_to_direct_connect_gateway(
self,
input: Option<Vec<RouteFilterPrefix>>
) -> Self
pub fn set_allowed_prefixes_to_direct_connect_gateway( self, input: Option<Vec<RouteFilterPrefix>> ) -> Self
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
sourcepub fn get_allowed_prefixes_to_direct_connect_gateway(
&self
) -> &Option<Vec<RouteFilterPrefix>>
pub fn get_allowed_prefixes_to_direct_connect_gateway( &self ) -> &Option<Vec<RouteFilterPrefix>>
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
sourcepub fn virtual_gateway_id(self, input: impl Into<String>) -> Self
pub fn virtual_gateway_id(self, input: impl Into<String>) -> Self
The ID of the virtual private gateway. Applies only to private virtual interfaces.
sourcepub fn set_virtual_gateway_id(self, input: Option<String>) -> Self
pub fn set_virtual_gateway_id(self, input: Option<String>) -> Self
The ID of the virtual private gateway. Applies only to private virtual interfaces.
sourcepub fn get_virtual_gateway_id(&self) -> &Option<String>
pub fn get_virtual_gateway_id(&self) -> &Option<String>
The ID of the virtual private gateway. Applies only to private virtual interfaces.
sourcepub fn virtual_gateway_region(self, input: impl Into<String>) -> Self
pub fn virtual_gateway_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region where the virtual private gateway is located.
sourcepub fn set_virtual_gateway_region(self, input: Option<String>) -> Self
pub fn set_virtual_gateway_region(self, input: Option<String>) -> Self
The Amazon Web Services Region where the virtual private gateway is located.
sourcepub fn get_virtual_gateway_region(&self) -> &Option<String>
pub fn get_virtual_gateway_region(&self) -> &Option<String>
The Amazon Web Services Region where the virtual private gateway is located.
sourcepub fn virtual_gateway_owner_account(self, input: impl Into<String>) -> Self
pub fn virtual_gateway_owner_account(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the virtual private gateway.
sourcepub fn set_virtual_gateway_owner_account(self, input: Option<String>) -> Self
pub fn set_virtual_gateway_owner_account(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the virtual private gateway.
sourcepub fn get_virtual_gateway_owner_account(&self) -> &Option<String>
pub fn get_virtual_gateway_owner_account(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the virtual private gateway.
sourcepub fn build(self) -> DirectConnectGatewayAssociation
pub fn build(self) -> DirectConnectGatewayAssociation
Consumes the builder and constructs a DirectConnectGatewayAssociation.
Trait Implementations§
source§impl Clone for DirectConnectGatewayAssociationBuilder
impl Clone for DirectConnectGatewayAssociationBuilder
source§fn clone(&self) -> DirectConnectGatewayAssociationBuilder
fn clone(&self) -> DirectConnectGatewayAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DirectConnectGatewayAssociationBuilder
impl Default for DirectConnectGatewayAssociationBuilder
source§fn default() -> DirectConnectGatewayAssociationBuilder
fn default() -> DirectConnectGatewayAssociationBuilder
source§impl PartialEq for DirectConnectGatewayAssociationBuilder
impl PartialEq for DirectConnectGatewayAssociationBuilder
source§fn eq(&self, other: &DirectConnectGatewayAssociationBuilder) -> bool
fn eq(&self, other: &DirectConnectGatewayAssociationBuilder) -> bool
self and other values to be equal, and is used
by ==.