Struct aws_sdk_networkmanager::types::Connection
source · #[non_exhaustive]pub struct Connection {
pub connection_id: Option<String>,
pub connection_arn: Option<String>,
pub global_network_id: Option<String>,
pub device_id: Option<String>,
pub connected_device_id: Option<String>,
pub link_id: Option<String>,
pub connected_link_id: Option<String>,
pub description: Option<String>,
pub created_at: Option<DateTime>,
pub state: Option<ConnectionState>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a connection.
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.connection_id: Option<String>
The ID of the connection.
connection_arn: Option<String>
The Amazon Resource Name (ARN) of the connection.
global_network_id: Option<String>
The ID of the global network.
device_id: Option<String>
The ID of the first device in the connection.
connected_device_id: Option<String>
The ID of the second device in the connection.
link_id: Option<String>
The ID of the link for the first device in the connection.
connected_link_id: Option<String>
The ID of the link for the second device in the connection.
description: Option<String>
The description of the connection.
created_at: Option<DateTime>
The date and time that the connection was created.
state: Option<ConnectionState>
The state of the connection.
The tags for the connection.
Implementations§
source§impl Connection
impl Connection
sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
The ID of the connection.
sourcepub fn connection_arn(&self) -> Option<&str>
pub fn connection_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the connection.
sourcepub fn global_network_id(&self) -> Option<&str>
pub fn global_network_id(&self) -> Option<&str>
The ID of the global network.
sourcepub fn connected_device_id(&self) -> Option<&str>
pub fn connected_device_id(&self) -> Option<&str>
The ID of the second device in the connection.
sourcepub fn link_id(&self) -> Option<&str>
pub fn link_id(&self) -> Option<&str>
The ID of the link for the first device in the connection.
sourcepub fn connected_link_id(&self) -> Option<&str>
pub fn connected_link_id(&self) -> Option<&str>
The ID of the link for the second device in the connection.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the connection.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time that the connection was created.
sourcepub fn state(&self) -> Option<&ConnectionState>
pub fn state(&self) -> Option<&ConnectionState>
The state of the connection.
The tags for the connection.
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()
.
source§impl Connection
impl Connection
sourcepub fn builder() -> ConnectionBuilder
pub fn builder() -> ConnectionBuilder
Creates a new builder-style object to manufacture Connection
.
Trait Implementations§
source§impl Clone for Connection
impl Clone for Connection
source§fn clone(&self) -> Connection
fn clone(&self) -> Connection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Connection
impl Debug for Connection
source§impl PartialEq for Connection
impl PartialEq for Connection
source§fn eq(&self, other: &Connection) -> bool
fn eq(&self, other: &Connection) -> bool
self
and other
values to be equal, and is used
by ==
.