#[non_exhaustive]pub struct SessionContextAttributesBuilder { /* private fields */ }
Expand description
A builder for SessionContextAttributes
.
Implementations§
source§impl SessionContextAttributesBuilder
impl SessionContextAttributesBuilder
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date and time, in UTC and ISO 8601 format, when the credentials were issued.
sourcepub fn mfa_authenticated(self, input: bool) -> Self
pub fn mfa_authenticated(self, input: bool) -> Self
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
sourcepub fn set_mfa_authenticated(self, input: Option<bool>) -> Self
pub fn set_mfa_authenticated(self, input: Option<bool>) -> Self
Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.
sourcepub fn build(self) -> SessionContextAttributes
pub fn build(self) -> SessionContextAttributes
Consumes the builder and constructs a SessionContextAttributes
.
Trait Implementations§
source§impl Clone for SessionContextAttributesBuilder
impl Clone for SessionContextAttributesBuilder
source§fn clone(&self) -> SessionContextAttributesBuilder
fn clone(&self) -> SessionContextAttributesBuilder
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 SessionContextAttributesBuilder
impl Default for SessionContextAttributesBuilder
source§fn default() -> SessionContextAttributesBuilder
fn default() -> SessionContextAttributesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SessionContextAttributesBuilder> for SessionContextAttributesBuilder
impl PartialEq<SessionContextAttributesBuilder> for SessionContextAttributesBuilder
source§fn eq(&self, other: &SessionContextAttributesBuilder) -> bool
fn eq(&self, other: &SessionContextAttributesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.