Struct aws_sdk_networkmanager::operation::associate_link::builders::AssociateLinkInputBuilder
source · #[non_exhaustive]pub struct AssociateLinkInputBuilder { /* private fields */ }
Expand description
A builder for AssociateLinkInput
.
Implementations§
source§impl AssociateLinkInputBuilder
impl AssociateLinkInputBuilder
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 device.
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 device.
sourcepub fn get_device_id(&self) -> &Option<String>
pub fn get_device_id(&self) -> &Option<String>
The ID of the device.
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.
This field is required.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.
sourcepub fn get_link_id(&self) -> &Option<String>
pub fn get_link_id(&self) -> &Option<String>
The ID of the link.
sourcepub fn build(self) -> Result<AssociateLinkInput, BuildError>
pub fn build(self) -> Result<AssociateLinkInput, BuildError>
Consumes the builder and constructs a AssociateLinkInput
.
source§impl AssociateLinkInputBuilder
impl AssociateLinkInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateLinkOutput, SdkError<AssociateLinkError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateLinkOutput, SdkError<AssociateLinkError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateLinkInputBuilder
impl Clone for AssociateLinkInputBuilder
source§fn clone(&self) -> AssociateLinkInputBuilder
fn clone(&self) -> AssociateLinkInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AssociateLinkInputBuilder
impl Debug for AssociateLinkInputBuilder
source§impl Default for AssociateLinkInputBuilder
impl Default for AssociateLinkInputBuilder
source§fn default() -> AssociateLinkInputBuilder
fn default() -> AssociateLinkInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateLinkInputBuilder
impl PartialEq for AssociateLinkInputBuilder
source§fn eq(&self, other: &AssociateLinkInputBuilder) -> bool
fn eq(&self, other: &AssociateLinkInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssociateLinkInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateLinkInputBuilder
impl RefUnwindSafe for AssociateLinkInputBuilder
impl Send for AssociateLinkInputBuilder
impl Sync for AssociateLinkInputBuilder
impl Unpin for AssociateLinkInputBuilder
impl UnwindSafe for AssociateLinkInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.