pub struct UpdateLagFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateLag.
Updates the attributes of the specified link aggregation group (LAG).
You can update the following LAG attributes:
-
The name of the LAG.
-
The value for the minimum number of connections that must be operational for the LAG itself to be operational.
-
The LAG's MACsec encryption mode.
Amazon Web Services assigns this value to each connection which is part of the LAG.
-
The tags
If you adjust the threshold value for the minimum number of operational connections, ensure that the new value does not cause the LAG to fall below the threshold and become non-operational.
Implementations§
source§impl UpdateLagFluentBuilder
impl UpdateLagFluentBuilder
sourcepub fn as_input(&self) -> &UpdateLagInputBuilder
pub fn as_input(&self) -> &UpdateLagInputBuilder
Access the UpdateLag as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateLagOutput, SdkError<UpdateLagError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateLagOutput, SdkError<UpdateLagError, 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<UpdateLagOutput, UpdateLagError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateLagOutput, UpdateLagError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
sourcepub fn get_lag_id(&self) -> &Option<String>
pub fn get_lag_id(&self) -> &Option<String>
The ID of the LAG.
sourcepub fn set_lag_name(self, input: Option<String>) -> Self
pub fn set_lag_name(self, input: Option<String>) -> Self
The name of the LAG.
sourcepub fn get_lag_name(&self) -> &Option<String>
pub fn get_lag_name(&self) -> &Option<String>
The name of the LAG.
sourcepub fn minimum_links(self, input: i32) -> Self
pub fn minimum_links(self, input: i32) -> Self
The minimum number of physical connections that must be operational for the LAG itself to be operational.
sourcepub fn set_minimum_links(self, input: Option<i32>) -> Self
pub fn set_minimum_links(self, input: Option<i32>) -> Self
The minimum number of physical connections that must be operational for the LAG itself to be operational.
sourcepub fn get_minimum_links(&self) -> &Option<i32>
pub fn get_minimum_links(&self) -> &Option<i32>
The minimum number of physical connections that must be operational for the LAG itself to be operational.
sourcepub fn encryption_mode(self, input: impl Into<String>) -> Self
pub fn encryption_mode(self, input: impl Into<String>) -> Self
The LAG MAC Security (MACsec) encryption mode.
Amazon Web Services applies the value to all connections which are part of the LAG.
sourcepub fn set_encryption_mode(self, input: Option<String>) -> Self
pub fn set_encryption_mode(self, input: Option<String>) -> Self
The LAG MAC Security (MACsec) encryption mode.
Amazon Web Services applies the value to all connections which are part of the LAG.
sourcepub fn get_encryption_mode(&self) -> &Option<String>
pub fn get_encryption_mode(&self) -> &Option<String>
The LAG MAC Security (MACsec) encryption mode.
Amazon Web Services applies the value to all connections which are part of the LAG.
Trait Implementations§
source§impl Clone for UpdateLagFluentBuilder
impl Clone for UpdateLagFluentBuilder
source§fn clone(&self) -> UpdateLagFluentBuilder
fn clone(&self) -> UpdateLagFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateLagFluentBuilder
impl !RefUnwindSafe for UpdateLagFluentBuilder
impl Send for UpdateLagFluentBuilder
impl Sync for UpdateLagFluentBuilder
impl Unpin for UpdateLagFluentBuilder
impl !UnwindSafe for UpdateLagFluentBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more