Struct aws_sdk_networkmanager::types::builders::ConnectionBuilder
source · #[non_exhaustive]pub struct ConnectionBuilder { /* private fields */ }
Expand description
A builder for Connection
.
Implementations§
source§impl ConnectionBuilder
impl ConnectionBuilder
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the connection.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the connection.
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
The ID of the connection.
sourcepub fn connection_arn(self, input: impl Into<String>) -> Self
pub fn connection_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the connection.
sourcepub fn set_connection_arn(self, input: Option<String>) -> Self
pub fn set_connection_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the connection.
sourcepub fn get_connection_arn(&self) -> &Option<String>
pub fn get_connection_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the connection.
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network.
sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network.
sourcepub fn get_global_network_id(&self) -> &Option<String>
pub fn get_global_network_id(&self) -> &Option<String>
The ID of the global network.
sourcepub fn device_id(self, input: impl Into<String>) -> Self
pub fn device_id(self, input: impl Into<String>) -> Self
The ID of the first device in the connection.
sourcepub fn set_device_id(self, input: Option<String>) -> Self
pub fn set_device_id(self, input: Option<String>) -> Self
The ID of the first device in the connection.
sourcepub fn get_device_id(&self) -> &Option<String>
pub fn get_device_id(&self) -> &Option<String>
The ID of the first device in the connection.
sourcepub fn connected_device_id(self, input: impl Into<String>) -> Self
pub fn connected_device_id(self, input: impl Into<String>) -> Self
The ID of the second device in the connection.
sourcepub fn set_connected_device_id(self, input: Option<String>) -> Self
pub fn set_connected_device_id(self, input: Option<String>) -> Self
The ID of the second device in the connection.
sourcepub fn get_connected_device_id(&self) -> &Option<String>
pub fn get_connected_device_id(&self) -> &Option<String>
The ID of the second device in the connection.
sourcepub fn link_id(self, input: impl Into<String>) -> Self
pub fn link_id(self, input: impl Into<String>) -> Self
The ID of the link for the first device in the connection.
sourcepub fn set_link_id(self, input: Option<String>) -> Self
pub fn set_link_id(self, input: Option<String>) -> Self
The ID of the link for the first device in the connection.
sourcepub fn get_link_id(&self) -> &Option<String>
pub fn get_link_id(&self) -> &Option<String>
The ID of the link for the first device in the connection.
sourcepub fn connected_link_id(self, input: impl Into<String>) -> Self
pub fn connected_link_id(self, input: impl Into<String>) -> Self
The ID of the link for the second device in the connection.
sourcepub fn set_connected_link_id(self, input: Option<String>) -> Self
pub fn set_connected_link_id(self, input: Option<String>) -> Self
The ID of the link for the second device in the connection.
sourcepub fn get_connected_link_id(&self) -> &Option<String>
pub fn get_connected_link_id(&self) -> &Option<String>
The ID of the link for the second device in the connection.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the connection.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the connection.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the connection.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time that the connection was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time that the connection was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time that the connection was created.
sourcepub fn state(self, input: ConnectionState) -> Self
pub fn state(self, input: ConnectionState) -> Self
The state of the connection.
sourcepub fn set_state(self, input: Option<ConnectionState>) -> Self
pub fn set_state(self, input: Option<ConnectionState>) -> Self
The state of the connection.
sourcepub fn get_state(&self) -> &Option<ConnectionState>
pub fn get_state(&self) -> &Option<ConnectionState>
The state of the connection.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the connection.
The tags for the connection.
The tags for the connection.
sourcepub fn build(self) -> Connection
pub fn build(self) -> Connection
Consumes the builder and constructs a Connection
.
Trait Implementations§
source§impl Clone for ConnectionBuilder
impl Clone for ConnectionBuilder
source§fn clone(&self) -> ConnectionBuilder
fn clone(&self) -> ConnectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConnectionBuilder
impl Debug for ConnectionBuilder
source§impl Default for ConnectionBuilder
impl Default for ConnectionBuilder
source§fn default() -> ConnectionBuilder
fn default() -> ConnectionBuilder
source§impl PartialEq for ConnectionBuilder
impl PartialEq for ConnectionBuilder
source§fn eq(&self, other: &ConnectionBuilder) -> bool
fn eq(&self, other: &ConnectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.