Struct aws_sdk_macie2::types::builders::SessionContextBuilder
source · #[non_exhaustive]pub struct SessionContextBuilder { /* private fields */ }
Expand description
A builder for SessionContext
.
Implementations§
source§impl SessionContextBuilder
impl SessionContextBuilder
sourcepub fn attributes(self, input: SessionContextAttributes) -> Self
pub fn attributes(self, input: SessionContextAttributes) -> Self
The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
sourcepub fn set_attributes(self, input: Option<SessionContextAttributes>) -> Self
pub fn set_attributes(self, input: Option<SessionContextAttributes>) -> Self
The date and time when the credentials were issued, and whether the credentials were authenticated with a multi-factor authentication (MFA) device.
sourcepub fn session_issuer(self, input: SessionIssuer) -> Self
pub fn session_issuer(self, input: SessionIssuer) -> Self
The source and type of credentials that were issued to the entity.
sourcepub fn set_session_issuer(self, input: Option<SessionIssuer>) -> Self
pub fn set_session_issuer(self, input: Option<SessionIssuer>) -> Self
The source and type of credentials that were issued to the entity.
sourcepub fn build(self) -> SessionContext
pub fn build(self) -> SessionContext
Consumes the builder and constructs a SessionContext
.
Trait Implementations§
source§impl Clone for SessionContextBuilder
impl Clone for SessionContextBuilder
source§fn clone(&self) -> SessionContextBuilder
fn clone(&self) -> SessionContextBuilder
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 Debug for SessionContextBuilder
impl Debug for SessionContextBuilder
source§impl Default for SessionContextBuilder
impl Default for SessionContextBuilder
source§fn default() -> SessionContextBuilder
fn default() -> SessionContextBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SessionContextBuilder> for SessionContextBuilder
impl PartialEq<SessionContextBuilder> for SessionContextBuilder
source§fn eq(&self, other: &SessionContextBuilder) -> bool
fn eq(&self, other: &SessionContextBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.