Struct aws_sdk_macie2::model::session_context::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SessionContext
.
Implementations§
source§impl Builder
impl Builder
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
.