#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for DirectConnectGatewayAssociation
Implementations
The ID of the Direct Connect gateway.
The ID of the Direct Connect gateway.
The ID of the Amazon Web Services account that owns the associated gateway.
The ID of the Amazon Web Services account that owns the associated gateway.
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.
pub 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.
The error message if the state of an object failed to advance.
The error message if the state of an object failed to advance.
Information about the associated gateway.
Information about the associated gateway.
The ID of the Direct Connect gateway association.
The ID of the Direct Connect gateway association.
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.
pub 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.
The ID of the virtual private gateway. Applies only to private virtual interfaces.
The ID of the virtual private gateway. Applies only to private virtual interfaces.
The Amazon Web Services Region where the virtual private gateway is located.
The Amazon Web Services Region where the virtual private gateway is located.
The ID of the Amazon Web Services account that owns the virtual private gateway.
The ID of the Amazon Web Services account that owns the virtual private gateway.
Consumes the builder and constructs a DirectConnectGatewayAssociation
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more