#[non_exhaustive]pub struct UpdateLagInputBuilder { /* private fields */ }Expand description
A builder for UpdateLagInput.
Implementations§
source§impl UpdateLagInputBuilder
impl UpdateLagInputBuilder
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.
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.
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.
sourcepub fn build(self) -> Result<UpdateLagInput, BuildError>
pub fn build(self) -> Result<UpdateLagInput, BuildError>
Consumes the builder and constructs a UpdateLagInput.
source§impl UpdateLagInputBuilder
impl UpdateLagInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateLagOutput, SdkError<UpdateLagError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateLagOutput, SdkError<UpdateLagError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateLagInputBuilder
impl Clone for UpdateLagInputBuilder
source§fn clone(&self) -> UpdateLagInputBuilder
fn clone(&self) -> UpdateLagInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateLagInputBuilder
impl Debug for UpdateLagInputBuilder
source§impl Default for UpdateLagInputBuilder
impl Default for UpdateLagInputBuilder
source§fn default() -> UpdateLagInputBuilder
fn default() -> UpdateLagInputBuilder
source§impl PartialEq for UpdateLagInputBuilder
impl PartialEq for UpdateLagInputBuilder
source§fn eq(&self, other: &UpdateLagInputBuilder) -> bool
fn eq(&self, other: &UpdateLagInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateLagInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateLagInputBuilder
impl RefUnwindSafe for UpdateLagInputBuilder
impl Send for UpdateLagInputBuilder
impl Sync for UpdateLagInputBuilder
impl Unpin for UpdateLagInputBuilder
impl UnwindSafe for UpdateLagInputBuilder
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