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
source§fn eq(&self, other: &MacSecKeyBuilder) -> bool
fn eq(&self, other: &MacSecKeyBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.