Struct aws_sdk_macie2::model::session_context::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for SessionContext
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more