Struct aws_sdk_directconnect::operation::associate_connection_with_lag::builders::AssociateConnectionWithLagFluentBuilder
source · pub struct AssociateConnectionWithLagFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to AssociateConnectionWithLag.
Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and re-established as a member of the LAG (connectivity to Amazon Web Services is interrupted). The connection must be hosted on the same Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. You can re-associate a connection that's currently associated with a different LAG; however, if removing the connection would cause the original LAG to fall below its setting for minimum number of operational connections, the request fails.
Any virtual interfaces that are directly associated with the connection are automatically re-associated with the LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated with the original LAG.
For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was originally associated with a different LAG, the hosted connections remain associated with the original LAG.
Implementations§
source§impl AssociateConnectionWithLagFluentBuilder
impl AssociateConnectionWithLagFluentBuilder
sourcepub fn as_input(&self) -> &AssociateConnectionWithLagInputBuilder
pub fn as_input(&self) -> &AssociateConnectionWithLagInputBuilder
Access the AssociateConnectionWithLag as a reference.
sourcepub async fn send(
self
) -> Result<AssociateConnectionWithLagOutput, SdkError<AssociateConnectionWithLagError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateConnectionWithLagOutput, SdkError<AssociateConnectionWithLagError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AssociateConnectionWithLagOutput, AssociateConnectionWithLagError, Self>
pub fn customize( self ) -> CustomizableOperation<AssociateConnectionWithLagOutput, AssociateConnectionWithLagError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for AssociateConnectionWithLagFluentBuilder
impl Clone for AssociateConnectionWithLagFluentBuilder
source§fn clone(&self) -> AssociateConnectionWithLagFluentBuilder
fn clone(&self) -> AssociateConnectionWithLagFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more