Struct aws_sdk_directconnect::types::Interconnect
source · #[non_exhaustive]pub struct Interconnect {Show 15 fields
pub interconnect_id: Option<String>,
pub interconnect_name: Option<String>,
pub interconnect_state: Option<InterconnectState>,
pub region: Option<String>,
pub location: Option<String>,
pub bandwidth: Option<String>,
pub loa_issue_time: Option<DateTime>,
pub lag_id: Option<String>,
pub aws_device: Option<String>,
pub jumbo_frame_capable: Option<bool>,
pub aws_device_v2: Option<String>,
pub aws_logical_device_id: Option<String>,
pub has_logical_redundancy: Option<HasLogicalRedundancy>,
pub tags: Option<Vec<Tag>>,
pub provider_name: Option<String>,
}Expand description
Information about an interconnect.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.interconnect_id: Option<String>The ID of the interconnect.
interconnect_name: Option<String>The name of the interconnect.
interconnect_state: Option<InterconnectState>The state of the interconnect. The following are the possible values:
-
requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The interconnect is approved, and is being initialized. -
available: The network link is up, and the interconnect is ready for use. -
down: The network link is down. -
deleting: The interconnect is being deleted. -
deleted: The interconnect is deleted. -
unknown: The state of the interconnect is not available.
region: Option<String>The Amazon Web Services Region where the connection is located.
location: Option<String>The location of the connection.
bandwidth: Option<String>The bandwidth of the connection.
loa_issue_time: Option<DateTime>The time of the most recent call to DescribeLoa for this connection.
lag_id: Option<String>The ID of the LAG.
aws_device: Option<String>The Direct Connect endpoint on which the physical connection terminates.
jumbo_frame_capable: Option<bool>Indicates whether jumbo frames are supported.
aws_device_v2: Option<String>The Direct Connect endpoint that terminates the physical connection.
aws_logical_device_id: Option<String>The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
has_logical_redundancy: Option<HasLogicalRedundancy>Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).
The tags associated with the interconnect.
provider_name: Option<String>The name of the service provider associated with the interconnect.
Implementations§
source§impl Interconnect
impl Interconnect
sourcepub fn interconnect_id(&self) -> Option<&str>
pub fn interconnect_id(&self) -> Option<&str>
The ID of the interconnect.
sourcepub fn interconnect_name(&self) -> Option<&str>
pub fn interconnect_name(&self) -> Option<&str>
The name of the interconnect.
sourcepub fn interconnect_state(&self) -> Option<&InterconnectState>
pub fn interconnect_state(&self) -> Option<&InterconnectState>
The state of the interconnect. The following are the possible values:
-
requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The interconnect is approved, and is being initialized. -
available: The network link is up, and the interconnect is ready for use. -
down: The network link is down. -
deleting: The interconnect is being deleted. -
deleted: The interconnect is deleted. -
unknown: The state of the interconnect is not available.
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
The Amazon Web Services Region where the connection is located.
sourcepub fn loa_issue_time(&self) -> Option<&DateTime>
pub fn loa_issue_time(&self) -> Option<&DateTime>
The time of the most recent call to DescribeLoa for this connection.
sourcepub fn aws_device(&self) -> Option<&str>
pub fn aws_device(&self) -> Option<&str>
The Direct Connect endpoint on which the physical connection terminates.
sourcepub fn jumbo_frame_capable(&self) -> Option<bool>
pub fn jumbo_frame_capable(&self) -> Option<bool>
Indicates whether jumbo frames are supported.
sourcepub fn aws_device_v2(&self) -> Option<&str>
pub fn aws_device_v2(&self) -> Option<&str>
The Direct Connect endpoint that terminates the physical connection.
sourcepub fn aws_logical_device_id(&self) -> Option<&str>
pub fn aws_logical_device_id(&self) -> Option<&str>
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
sourcepub fn has_logical_redundancy(&self) -> Option<&HasLogicalRedundancy>
pub fn has_logical_redundancy(&self) -> Option<&HasLogicalRedundancy>
Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).
The tags associated with the interconnect.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
sourcepub fn provider_name(&self) -> Option<&str>
pub fn provider_name(&self) -> Option<&str>
The name of the service provider associated with the interconnect.
source§impl Interconnect
impl Interconnect
sourcepub fn builder() -> InterconnectBuilder
pub fn builder() -> InterconnectBuilder
Creates a new builder-style object to manufacture Interconnect.
Trait Implementations§
source§impl Clone for Interconnect
impl Clone for Interconnect
source§fn clone(&self) -> Interconnect
fn clone(&self) -> Interconnect
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Interconnect
impl Debug for Interconnect
source§impl PartialEq for Interconnect
impl PartialEq for Interconnect
source§fn eq(&self, other: &Interconnect) -> bool
fn eq(&self, other: &Interconnect) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Interconnect
Auto Trait Implementations§
impl Freeze for Interconnect
impl RefUnwindSafe for Interconnect
impl Send for Interconnect
impl Sync for Interconnect
impl Unpin for Interconnect
impl UnwindSafe for Interconnect
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more