#[non_exhaustive]pub struct CreateLagInputBuilder { /* private fields */ }Expand description
A builder for CreateLagInput.
Implementations§
source§impl CreateLagInputBuilder
impl CreateLagInputBuilder
sourcepub fn number_of_connections(self, input: i32) -> Self
pub fn number_of_connections(self, input: i32) -> Self
The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1Gbps or 10Gbps, or two when the port speed is 100Gbps or 400Gbps.
This field is required.sourcepub fn set_number_of_connections(self, input: Option<i32>) -> Self
pub fn set_number_of_connections(self, input: Option<i32>) -> Self
The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1Gbps or 10Gbps, or two when the port speed is 100Gbps or 400Gbps.
sourcepub fn get_number_of_connections(&self) -> &Option<i32>
pub fn get_number_of_connections(&self) -> &Option<i32>
The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1Gbps or 10Gbps, or two when the port speed is 100Gbps or 400Gbps.
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
The location for the LAG.
This field is required.sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The location for the LAG.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The location for the LAG.
sourcepub fn connections_bandwidth(self, input: impl Into<String>) -> Self
pub fn connections_bandwidth(self, input: impl Into<String>) -> Self
The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps,10Gbps, 100Gbps, and 400Gbps.
This field is required.sourcepub fn set_connections_bandwidth(self, input: Option<String>) -> Self
pub fn set_connections_bandwidth(self, input: Option<String>) -> Self
The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps,10Gbps, 100Gbps, and 400Gbps.
sourcepub fn get_connections_bandwidth(&self) -> &Option<String>
pub fn get_connections_bandwidth(&self) -> &Option<String>
The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps,10Gbps, 100Gbps, and 400Gbps.
sourcepub fn lag_name(self, input: impl Into<String>) -> Self
pub fn lag_name(self, input: impl Into<String>) -> Self
The name of the LAG.
This field is required.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 connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of an existing dedicated connection to migrate to the LAG.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of an existing dedicated connection to migrate to the LAG.
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
The ID of an existing dedicated connection to migrate to the LAG.
Appends an item to tags.
To override the contents of this collection use set_tags.
The tags to associate with the LAG.
The tags to associate with the LAG.
The tags to associate with the LAG.
Appends an item to child_connection_tags.
To override the contents of this collection use set_child_connection_tags.
The tags to associate with the automtically created LAGs.
The tags to associate with the automtically created LAGs.
The tags to associate with the automtically created LAGs.
sourcepub fn provider_name(self, input: impl Into<String>) -> Self
pub fn provider_name(self, input: impl Into<String>) -> Self
The name of the service provider associated with the LAG.
sourcepub fn set_provider_name(self, input: Option<String>) -> Self
pub fn set_provider_name(self, input: Option<String>) -> Self
The name of the service provider associated with the LAG.
sourcepub fn get_provider_name(&self) -> &Option<String>
pub fn get_provider_name(&self) -> &Option<String>
The name of the service provider associated with the LAG.
sourcepub fn request_mac_sec(self, input: bool) -> Self
pub fn request_mac_sec(self, input: bool) -> Self
Indicates whether the connection will support MAC Security (MACsec).
All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
sourcepub fn set_request_mac_sec(self, input: Option<bool>) -> Self
pub fn set_request_mac_sec(self, input: Option<bool>) -> Self
Indicates whether the connection will support MAC Security (MACsec).
All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
sourcepub fn get_request_mac_sec(&self) -> &Option<bool>
pub fn get_request_mac_sec(&self) -> &Option<bool>
Indicates whether the connection will support MAC Security (MACsec).
All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
sourcepub fn build(self) -> Result<CreateLagInput, BuildError>
pub fn build(self) -> Result<CreateLagInput, BuildError>
Consumes the builder and constructs a CreateLagInput.
source§impl CreateLagInputBuilder
impl CreateLagInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateLagOutput, SdkError<CreateLagError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateLagOutput, SdkError<CreateLagError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLagInputBuilder
impl Clone for CreateLagInputBuilder
source§fn clone(&self) -> CreateLagInputBuilder
fn clone(&self) -> CreateLagInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateLagInputBuilder
impl Debug for CreateLagInputBuilder
source§impl Default for CreateLagInputBuilder
impl Default for CreateLagInputBuilder
source§fn default() -> CreateLagInputBuilder
fn default() -> CreateLagInputBuilder
source§impl PartialEq for CreateLagInputBuilder
impl PartialEq for CreateLagInputBuilder
source§fn eq(&self, other: &CreateLagInputBuilder) -> bool
fn eq(&self, other: &CreateLagInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateLagInputBuilder
Auto Trait Implementations§
impl Freeze for CreateLagInputBuilder
impl RefUnwindSafe for CreateLagInputBuilder
impl Send for CreateLagInputBuilder
impl Sync for CreateLagInputBuilder
impl Unpin for CreateLagInputBuilder
impl UnwindSafe for CreateLagInputBuilder
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