#[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 ==.