Struct aws_sdk_directconnect::operation::associate_mac_sec_key::builders::AssociateMacSecKeyOutputBuilder
source · #[non_exhaustive]pub struct AssociateMacSecKeyOutputBuilder { /* private fields */ }Expand description
A builder for AssociateMacSecKeyOutput.
Implementations§
source§impl AssociateMacSecKeyOutputBuilder
impl AssociateMacSecKeyOutputBuilder
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
sourcepub fn mac_sec_keys(self, input: MacSecKey) -> Self
pub fn mac_sec_keys(self, input: MacSecKey) -> Self
Appends an item to mac_sec_keys.
To override the contents of this collection use set_mac_sec_keys.
The MAC Security (MACsec) security keys associated with the dedicated connection.
sourcepub fn set_mac_sec_keys(self, input: Option<Vec<MacSecKey>>) -> Self
pub fn set_mac_sec_keys(self, input: Option<Vec<MacSecKey>>) -> Self
The MAC Security (MACsec) security keys associated with the dedicated connection.
sourcepub fn get_mac_sec_keys(&self) -> &Option<Vec<MacSecKey>>
pub fn get_mac_sec_keys(&self) -> &Option<Vec<MacSecKey>>
The MAC Security (MACsec) security keys associated with the dedicated connection.
sourcepub fn build(self) -> AssociateMacSecKeyOutput
pub fn build(self) -> AssociateMacSecKeyOutput
Consumes the builder and constructs a AssociateMacSecKeyOutput.
Trait Implementations§
source§impl Clone for AssociateMacSecKeyOutputBuilder
impl Clone for AssociateMacSecKeyOutputBuilder
source§fn clone(&self) -> AssociateMacSecKeyOutputBuilder
fn clone(&self) -> AssociateMacSecKeyOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for AssociateMacSecKeyOutputBuilder
impl Default for AssociateMacSecKeyOutputBuilder
source§fn default() -> AssociateMacSecKeyOutputBuilder
fn default() -> AssociateMacSecKeyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateMacSecKeyOutputBuilder
impl PartialEq for AssociateMacSecKeyOutputBuilder
source§fn eq(&self, other: &AssociateMacSecKeyOutputBuilder) -> bool
fn eq(&self, other: &AssociateMacSecKeyOutputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssociateMacSecKeyOutputBuilder
Auto Trait Implementations§
impl Freeze for AssociateMacSecKeyOutputBuilder
impl RefUnwindSafe for AssociateMacSecKeyOutputBuilder
impl Send for AssociateMacSecKeyOutputBuilder
impl Sync for AssociateMacSecKeyOutputBuilder
impl Unpin for AssociateMacSecKeyOutputBuilder
impl UnwindSafe for AssociateMacSecKeyOutputBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.