Struct aws_sdk_directconnect::model::DirectConnectGateway
source · [−]#[non_exhaustive]pub struct DirectConnectGateway { /* private fields */ }
Expand description
Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.
Implementations
sourceimpl DirectConnectGateway
impl DirectConnectGateway
sourcepub fn direct_connect_gateway_id(&self) -> Option<&str>
pub fn direct_connect_gateway_id(&self) -> Option<&str>
The ID of the Direct Connect gateway.
sourcepub fn direct_connect_gateway_name(&self) -> Option<&str>
pub fn direct_connect_gateway_name(&self) -> Option<&str>
The name of the Direct Connect gateway.
sourcepub fn amazon_side_asn(&self) -> Option<i64>
pub fn amazon_side_asn(&self) -> Option<i64>
The autonomous system number (ASN) for the Amazon side of the connection.
sourcepub fn owner_account(&self) -> Option<&str>
pub fn owner_account(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the Direct Connect gateway.
sourcepub fn direct_connect_gateway_state(&self) -> Option<&DirectConnectGatewayState>
pub fn direct_connect_gateway_state(&self) -> Option<&DirectConnectGatewayState>
The state of the Direct Connect gateway. The following are the possible values:
-
pending
: The initial state after callingCreateDirectConnectGateway
. -
available
: The Direct Connect gateway is ready for use. -
deleting
: The initial state after callingDeleteDirectConnectGateway
. -
deleted
: The Direct Connect gateway is deleted and cannot pass traffic.
sourcepub fn state_change_error(&self) -> Option<&str>
pub fn state_change_error(&self) -> Option<&str>
The error message if the state of an object failed to advance.
sourceimpl DirectConnectGateway
impl DirectConnectGateway
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DirectConnectGateway
.
Trait Implementations
sourceimpl Clone for DirectConnectGateway
impl Clone for DirectConnectGateway
sourcefn clone(&self) -> DirectConnectGateway
fn clone(&self) -> DirectConnectGateway
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more