#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for DirectConnectGatewayAttachment
Implementations
The ID of the Direct Connect gateway.
The ID of the Direct Connect gateway.
The ID of the virtual interface.
The ID of the virtual interface.
The Amazon Web Services Region where the virtual interface is located.
The Amazon Web Services Region where the virtual interface is located.
The ID of the Amazon Web Services account that owns the virtual interface.
The ID of the Amazon Web Services account that owns the virtual interface.
The state of the attachment. The following are the possible values:
-
attaching: The initial state after a virtual interface is created using the Direct Connect gateway. -
attached: The Direct Connect gateway and virtual interface are attached and ready to pass traffic. -
detaching: The initial state after callingDeleteVirtualInterface. -
detached: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.
pub fn set_attachment_state(
self,
input: Option<DirectConnectGatewayAttachmentState>
) -> Self
pub fn set_attachment_state(
self,
input: Option<DirectConnectGatewayAttachmentState>
) -> Self
The state of the attachment. The following are the possible values:
-
attaching: The initial state after a virtual interface is created using the Direct Connect gateway. -
attached: The Direct Connect gateway and virtual interface are attached and ready to pass traffic. -
detaching: The initial state after callingDeleteVirtualInterface. -
detached: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.
The type of attachment.
The type of attachment.
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 DirectConnectGatewayAttachment
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