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
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DirectConnectGateway
impl Debug for DirectConnectGateway
sourceimpl PartialEq<DirectConnectGateway> for DirectConnectGateway
impl PartialEq<DirectConnectGateway> for DirectConnectGateway
sourcefn eq(&self, other: &DirectConnectGateway) -> bool
fn eq(&self, other: &DirectConnectGateway) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl StructuralPartialEq for DirectConnectGateway
Auto Trait Implementations
impl RefUnwindSafe for DirectConnectGateway
impl Send for DirectConnectGateway
impl Sync for DirectConnectGateway
impl Unpin for DirectConnectGateway
impl UnwindSafe for DirectConnectGateway
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more