Struct aws_sdk_directconnect::types::builders::MacSecKeyBuilder
source · #[non_exhaustive]pub struct MacSecKeyBuilder { /* private fields */ }Expand description
A builder for MacSecKey.
Implementations§
source§impl MacSecKeyBuilder
impl MacSecKeyBuilder
sourcepub fn secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
sourcepub fn get_secret_arn(&self) -> &Option<String>
pub fn get_secret_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
sourcepub fn ckn(self, input: impl Into<String>) -> Self
pub fn ckn(self, input: impl Into<String>) -> Self
The Connection Key Name (CKN) for the MAC Security secret key.
sourcepub fn set_ckn(self, input: Option<String>) -> Self
pub fn set_ckn(self, input: Option<String>) -> Self
The Connection Key Name (CKN) for the MAC Security secret key.
sourcepub fn get_ckn(&self) -> &Option<String>
pub fn get_ckn(&self) -> &Option<String>
The Connection Key Name (CKN) for the MAC Security secret key.
sourcepub fn state(self, input: impl Into<String>) -> Self
pub fn state(self, input: impl Into<String>) -> Self
The state of the MAC Security (MACsec) secret key.
The possible values are:
-
associating: The MAC Security (MACsec) secret key is being validated and not yet associated with the connection or LAG. -
associated: The MAC Security (MACsec) secret key is validated and associated with the connection or LAG. -
disassociating: The MAC Security (MACsec) secret key is being disassociated from the connection or LAG -
disassociated: The MAC Security (MACsec) secret key is no longer associated with the connection or LAG.
sourcepub fn set_state(self, input: Option<String>) -> Self
pub fn set_state(self, input: Option<String>) -> Self
The state of the MAC Security (MACsec) secret key.
The possible values are:
-
associating: The MAC Security (MACsec) secret key is being validated and not yet associated with the connection or LAG. -
associated: The MAC Security (MACsec) secret key is validated and associated with the connection or LAG. -
disassociating: The MAC Security (MACsec) secret key is being disassociated from the connection or LAG -
disassociated: The MAC Security (MACsec) secret key is no longer associated with the connection or LAG.
sourcepub fn get_state(&self) -> &Option<String>
pub fn get_state(&self) -> &Option<String>
The state of the MAC Security (MACsec) secret key.
The possible values are:
-
associating: The MAC Security (MACsec) secret key is being validated and not yet associated with the connection or LAG. -
associated: The MAC Security (MACsec) secret key is validated and associated with the connection or LAG. -
disassociating: The MAC Security (MACsec) secret key is being disassociated from the connection or LAG -
disassociated: The MAC Security (MACsec) secret key is no longer associated with the connection or LAG.
sourcepub fn start_on(self, input: impl Into<String>) -> Self
pub fn start_on(self, input: impl Into<String>) -> Self
The date that the MAC Security (MACsec) secret key takes effect. The value is displayed in UTC format.
sourcepub fn set_start_on(self, input: Option<String>) -> Self
pub fn set_start_on(self, input: Option<String>) -> Self
The date that the MAC Security (MACsec) secret key takes effect. The value is displayed in UTC format.
sourcepub fn get_start_on(&self) -> &Option<String>
pub fn get_start_on(&self) -> &Option<String>
The date that the MAC Security (MACsec) secret key takes effect. The value is displayed in UTC format.
Trait Implementations§
source§impl Clone for MacSecKeyBuilder
impl Clone for MacSecKeyBuilder
source§fn clone(&self) -> MacSecKeyBuilder
fn clone(&self) -> MacSecKeyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MacSecKeyBuilder
impl Debug for MacSecKeyBuilder
source§impl Default for MacSecKeyBuilder
impl Default for MacSecKeyBuilder
source§fn default() -> MacSecKeyBuilder
fn default() -> MacSecKeyBuilder
source§impl PartialEq for MacSecKeyBuilder
impl PartialEq for MacSecKeyBuilder
impl StructuralPartialEq for MacSecKeyBuilder
Auto Trait Implementations§
impl Freeze for MacSecKeyBuilder
impl RefUnwindSafe for MacSecKeyBuilder
impl Send for MacSecKeyBuilder
impl Sync for MacSecKeyBuilder
impl Unpin for MacSecKeyBuilder
impl UnwindSafe for MacSecKeyBuilder
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