Struct aws_sdk_networkmanager::operation::disassociate_connect_peer::builders::DisassociateConnectPeerInputBuilder
source · #[non_exhaustive]pub struct DisassociateConnectPeerInputBuilder { /* private fields */ }
Expand description
A builder for DisassociateConnectPeerInput
.
Implementations§
source§impl DisassociateConnectPeerInputBuilder
impl DisassociateConnectPeerInputBuilder
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 connect_peer_id(self, input: impl Into<String>) -> Self
pub fn connect_peer_id(self, input: impl Into<String>) -> Self
The ID of the Connect peer to disassociate from a device.
This field is required.sourcepub fn set_connect_peer_id(self, input: Option<String>) -> Self
pub fn set_connect_peer_id(self, input: Option<String>) -> Self
The ID of the Connect peer to disassociate from a device.
sourcepub fn get_connect_peer_id(&self) -> &Option<String>
pub fn get_connect_peer_id(&self) -> &Option<String>
The ID of the Connect peer to disassociate from a device.
sourcepub fn build(self) -> Result<DisassociateConnectPeerInput, BuildError>
pub fn build(self) -> Result<DisassociateConnectPeerInput, BuildError>
Consumes the builder and constructs a DisassociateConnectPeerInput
.
source§impl DisassociateConnectPeerInputBuilder
impl DisassociateConnectPeerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DisassociateConnectPeerOutput, SdkError<DisassociateConnectPeerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DisassociateConnectPeerOutput, SdkError<DisassociateConnectPeerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DisassociateConnectPeerInputBuilder
impl Clone for DisassociateConnectPeerInputBuilder
source§fn clone(&self) -> DisassociateConnectPeerInputBuilder
fn clone(&self) -> DisassociateConnectPeerInputBuilder
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 Default for DisassociateConnectPeerInputBuilder
impl Default for DisassociateConnectPeerInputBuilder
source§fn default() -> DisassociateConnectPeerInputBuilder
fn default() -> DisassociateConnectPeerInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DisassociateConnectPeerInputBuilder
impl PartialEq for DisassociateConnectPeerInputBuilder
source§fn eq(&self, other: &DisassociateConnectPeerInputBuilder) -> bool
fn eq(&self, other: &DisassociateConnectPeerInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DisassociateConnectPeerInputBuilder
Auto Trait Implementations§
impl Freeze for DisassociateConnectPeerInputBuilder
impl RefUnwindSafe for DisassociateConnectPeerInputBuilder
impl Send for DisassociateConnectPeerInputBuilder
impl Sync for DisassociateConnectPeerInputBuilder
impl Unpin for DisassociateConnectPeerInputBuilder
impl UnwindSafe for DisassociateConnectPeerInputBuilder
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.