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<AssociateMacSecKeyOutputBuilder> for AssociateMacSecKeyOutputBuilder
impl PartialEq<AssociateMacSecKeyOutputBuilder> for AssociateMacSecKeyOutputBuilder
source§fn eq(&self, other: &AssociateMacSecKeyOutputBuilder) -> bool
fn eq(&self, other: &AssociateMacSecKeyOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateMacSecKeyOutputBuilder
Auto Trait Implementations§
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