Struct aws_sdk_networkmanager::operation::disassociate_link::builders::DisassociateLinkInputBuilder
source · #[non_exhaustive]pub struct DisassociateLinkInputBuilder { /* private fields */ }
Expand description
A builder for DisassociateLinkInput
.
Implementations§
source§impl DisassociateLinkInputBuilder
impl DisassociateLinkInputBuilder
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<DisassociateLinkInput, BuildError>
pub fn build(self) -> Result<DisassociateLinkInput, BuildError>
Consumes the builder and constructs a DisassociateLinkInput
.
source§impl DisassociateLinkInputBuilder
impl DisassociateLinkInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DisassociateLinkOutput, SdkError<DisassociateLinkError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DisassociateLinkOutput, SdkError<DisassociateLinkError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DisassociateLinkInputBuilder
impl Clone for DisassociateLinkInputBuilder
source§fn clone(&self) -> DisassociateLinkInputBuilder
fn clone(&self) -> DisassociateLinkInputBuilder
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 DisassociateLinkInputBuilder
impl Debug for DisassociateLinkInputBuilder
source§impl Default for DisassociateLinkInputBuilder
impl Default for DisassociateLinkInputBuilder
source§fn default() -> DisassociateLinkInputBuilder
fn default() -> DisassociateLinkInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DisassociateLinkInputBuilder
impl PartialEq for DisassociateLinkInputBuilder
source§fn eq(&self, other: &DisassociateLinkInputBuilder) -> bool
fn eq(&self, other: &DisassociateLinkInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DisassociateLinkInputBuilder
Auto Trait Implementations§
impl Freeze for DisassociateLinkInputBuilder
impl RefUnwindSafe for DisassociateLinkInputBuilder
impl Send for DisassociateLinkInputBuilder
impl Sync for DisassociateLinkInputBuilder
impl Unpin for DisassociateLinkInputBuilder
impl UnwindSafe for DisassociateLinkInputBuilder
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.