#[non_exhaustive]pub struct AwsIamAccessKeySessionContextAttributesBuilder { /* private fields */ }
Expand description
A builder for AwsIamAccessKeySessionContextAttributes
.
Implementations§
source§impl AwsIamAccessKeySessionContextAttributesBuilder
impl AwsIamAccessKeySessionContextAttributesBuilder
sourcepub fn mfa_authenticated(self, input: bool) -> Self
pub fn mfa_authenticated(self, input: bool) -> Self
Indicates whether the session used multi-factor authentication (MFA).
sourcepub fn set_mfa_authenticated(self, input: Option<bool>) -> Self
pub fn set_mfa_authenticated(self, input: Option<bool>) -> Self
Indicates whether the session used multi-factor authentication (MFA).
sourcepub fn get_mfa_authenticated(&self) -> &Option<bool>
pub fn get_mfa_authenticated(&self) -> &Option<bool>
Indicates whether the session used multi-factor authentication (MFA).
sourcepub fn creation_date(self, input: impl Into<String>) -> Self
pub fn creation_date(self, input: impl Into<String>) -> Self
Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_creation_date(self, input: Option<String>) -> Self
pub fn set_creation_date(self, input: Option<String>) -> Self
Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn get_creation_date(&self) -> &Option<String>
pub fn get_creation_date(&self) -> &Option<String>
Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn build(self) -> AwsIamAccessKeySessionContextAttributes
pub fn build(self) -> AwsIamAccessKeySessionContextAttributes
Consumes the builder and constructs a AwsIamAccessKeySessionContextAttributes
.
Trait Implementations§
source§impl Clone for AwsIamAccessKeySessionContextAttributesBuilder
impl Clone for AwsIamAccessKeySessionContextAttributesBuilder
source§fn clone(&self) -> AwsIamAccessKeySessionContextAttributesBuilder
fn clone(&self) -> AwsIamAccessKeySessionContextAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsIamAccessKeySessionContextAttributesBuilder
impl Default for AwsIamAccessKeySessionContextAttributesBuilder
source§fn default() -> AwsIamAccessKeySessionContextAttributesBuilder
fn default() -> AwsIamAccessKeySessionContextAttributesBuilder
source§impl PartialEq for AwsIamAccessKeySessionContextAttributesBuilder
impl PartialEq for AwsIamAccessKeySessionContextAttributesBuilder
source§fn eq(&self, other: &AwsIamAccessKeySessionContextAttributesBuilder) -> bool
fn eq(&self, other: &AwsIamAccessKeySessionContextAttributesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.