Struct aws_sdk_directconnect::model::direct_connect_gateway::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }Expand description
A builder for DirectConnectGateway
Implementations
The ID of the Direct Connect gateway.
The ID of the Direct Connect gateway.
The name of the Direct Connect gateway.
The name of the Direct Connect gateway.
The autonomous system number (ASN) for the Amazon side of the connection.
The autonomous system number (ASN) for the Amazon side of the connection.
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
The state of the Direct Connect gateway. The following are the possible values:
-
pending: The initial state after calling CreateDirectConnectGateway. -
available: The Direct Connect gateway is ready for use. -
deleting: The initial state after calling DeleteDirectConnectGateway. -
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
pub fn set_direct_connect_gateway_state(
self,
input: Option<DirectConnectGatewayState>
) -> Self
pub fn set_direct_connect_gateway_state(
self,
input: Option<DirectConnectGatewayState>
) -> Self
The state of the Direct Connect gateway. The following are the possible values:
-
pending: The initial state after calling CreateDirectConnectGateway. -
available: The Direct Connect gateway is ready for use. -
deleting: The initial state after calling DeleteDirectConnectGateway. -
deleted: The Direct Connect gateway is deleted and cannot pass traffic.
The error message if the state of an object failed to advance.
The error message if the state of an object failed to advance.
Consumes the builder and constructs a DirectConnectGateway
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
