Struct aws_sdk_networkmanager::operation::create_connection::builders::CreateConnectionInputBuilder
source · #[non_exhaustive]pub struct CreateConnectionInputBuilder { /* private fields */ }
Expand description
A builder for CreateConnectionInput
.
Implementations§
source§impl CreateConnectionInputBuilder
impl CreateConnectionInputBuilder
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.
This field is required.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.
This field is required.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.
This field is required.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.
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.
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.
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.
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.
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.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the connection.
Length Constraints: Maximum length of 256 characters.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the connection.
Length Constraints: Maximum length of 256 characters.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the connection.
Length Constraints: Maximum length of 256 characters.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags to apply to the resource during creation.
The tags to apply to the resource during creation.
The tags to apply to the resource during creation.
sourcepub fn build(self) -> Result<CreateConnectionInput, BuildError>
pub fn build(self) -> Result<CreateConnectionInput, BuildError>
Consumes the builder and constructs a CreateConnectionInput
.
source§impl CreateConnectionInputBuilder
impl CreateConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateConnectionOutput, SdkError<CreateConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateConnectionOutput, SdkError<CreateConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateConnectionInputBuilder
impl Clone for CreateConnectionInputBuilder
source§fn clone(&self) -> CreateConnectionInputBuilder
fn clone(&self) -> CreateConnectionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateConnectionInputBuilder
impl Debug for CreateConnectionInputBuilder
source§impl Default for CreateConnectionInputBuilder
impl Default for CreateConnectionInputBuilder
source§fn default() -> CreateConnectionInputBuilder
fn default() -> CreateConnectionInputBuilder
source§impl PartialEq for CreateConnectionInputBuilder
impl PartialEq for CreateConnectionInputBuilder
source§fn eq(&self, other: &CreateConnectionInputBuilder) -> bool
fn eq(&self, other: &CreateConnectionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateConnectionInputBuilder
Auto Trait Implementations§
impl Freeze for CreateConnectionInputBuilder
impl RefUnwindSafe for CreateConnectionInputBuilder
impl Send for CreateConnectionInputBuilder
impl Sync for CreateConnectionInputBuilder
impl Unpin for CreateConnectionInputBuilder
impl UnwindSafe for CreateConnectionInputBuilder
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