Struct aws_sdk_directconnect::input::CreateLagInput
source · [−]#[non_exhaustive]pub struct CreateLagInput {
pub number_of_connections: i32,
pub location: Option<String>,
pub connections_bandwidth: Option<String>,
pub lag_name: Option<String>,
pub connection_id: Option<String>,
pub tags: Option<Vec<Tag>>,
pub child_connection_tags: Option<Vec<Tag>>,
pub provider_name: Option<String>,
pub request_mac_sec: Option<bool>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.number_of_connections: i32The number of physical dedicated connections initially provisioned and bundled by the LAG.
location: Option<String>The location for the LAG.
connections_bandwidth: Option<String>The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
lag_name: Option<String>The name of the LAG.
connection_id: Option<String>The ID of an existing dedicated connection to migrate to the LAG.
The tags to associate with the LAG.
The tags to associate with the automtically created LAGs.
provider_name: Option<String>The name of the service provider associated with the LAG.
request_mac_sec: 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.
Implementations
sourceimpl CreateLagInput
impl CreateLagInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLag, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLag, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateLag>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateLagInput.
sourceimpl CreateLagInput
impl CreateLagInput
sourcepub fn number_of_connections(&self) -> i32
pub fn number_of_connections(&self) -> i32
The number of physical dedicated connections initially provisioned and bundled by the LAG.
sourcepub fn connections_bandwidth(&self) -> Option<&str>
pub fn connections_bandwidth(&self) -> Option<&str>
The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
The ID of an existing dedicated connection to migrate to the LAG.
The tags to associate with the LAG.
The tags to associate with the automtically created LAGs.
sourcepub fn provider_name(&self) -> Option<&str>
pub fn provider_name(&self) -> Option<&str>
The name of the service provider associated with the LAG.
sourcepub fn request_mac_sec(&self) -> Option<bool>
pub fn 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.
Trait Implementations
sourceimpl Clone for CreateLagInput
impl Clone for CreateLagInput
sourcefn clone(&self) -> CreateLagInput
fn clone(&self) -> CreateLagInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CreateLagInput
impl Debug for CreateLagInput
sourceimpl PartialEq<CreateLagInput> for CreateLagInput
impl PartialEq<CreateLagInput> for CreateLagInput
sourcefn eq(&self, other: &CreateLagInput) -> bool
fn eq(&self, other: &CreateLagInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateLagInput) -> bool
fn ne(&self, other: &CreateLagInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateLagInput
Auto Trait Implementations
impl RefUnwindSafe for CreateLagInput
impl Send for CreateLagInput
impl Sync for CreateLagInput
impl Unpin for CreateLagInput
impl UnwindSafe for CreateLagInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more