Struct aws_sdk_directconnect::operation::associate_connection_with_lag::builders::AssociateConnectionWithLagInputBuilder
source · #[non_exhaustive]pub struct AssociateConnectionWithLagInputBuilder { /* private fields */ }Expand description
A builder for AssociateConnectionWithLagInput.
Implementations§
source§impl AssociateConnectionWithLagInputBuilder
impl AssociateConnectionWithLagInputBuilder
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.
This field is required.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 lag_id(self, input: impl Into<String>) -> Self
pub fn lag_id(self, input: impl Into<String>) -> Self
The ID of the LAG with which to associate the connection.
This field is required.sourcepub fn set_lag_id(self, input: Option<String>) -> Self
pub fn set_lag_id(self, input: Option<String>) -> Self
The ID of the LAG with which to associate the connection.
sourcepub fn get_lag_id(&self) -> &Option<String>
pub fn get_lag_id(&self) -> &Option<String>
The ID of the LAG with which to associate the connection.
sourcepub fn build(self) -> Result<AssociateConnectionWithLagInput, BuildError>
pub fn build(self) -> Result<AssociateConnectionWithLagInput, BuildError>
Consumes the builder and constructs a AssociateConnectionWithLagInput.
source§impl AssociateConnectionWithLagInputBuilder
impl AssociateConnectionWithLagInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateConnectionWithLagOutput, SdkError<AssociateConnectionWithLagError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateConnectionWithLagOutput, SdkError<AssociateConnectionWithLagError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateConnectionWithLagInputBuilder
impl Clone for AssociateConnectionWithLagInputBuilder
source§fn clone(&self) -> AssociateConnectionWithLagInputBuilder
fn clone(&self) -> AssociateConnectionWithLagInputBuilder
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 AssociateConnectionWithLagInputBuilder
impl Default for AssociateConnectionWithLagInputBuilder
source§fn default() -> AssociateConnectionWithLagInputBuilder
fn default() -> AssociateConnectionWithLagInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateConnectionWithLagInputBuilder
impl PartialEq for AssociateConnectionWithLagInputBuilder
source§fn eq(&self, other: &AssociateConnectionWithLagInputBuilder) -> bool
fn eq(&self, other: &AssociateConnectionWithLagInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateConnectionWithLagInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateConnectionWithLagInputBuilder
impl RefUnwindSafe for AssociateConnectionWithLagInputBuilder
impl Send for AssociateConnectionWithLagInputBuilder
impl Sync for AssociateConnectionWithLagInputBuilder
impl Unpin for AssociateConnectionWithLagInputBuilder
impl UnwindSafe for AssociateConnectionWithLagInputBuilder
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.