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 get_attributes(&self) -> &Option<SessionContextAttributes>
pub fn get_attributes(&self) -> &Option<SessionContextAttributes>
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 get_session_issuer(&self) -> &Option<SessionIssuer>
pub fn get_session_issuer(&self) -> &Option<SessionIssuer>
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 for SessionContextBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for SessionContextBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SessionContextBuilder
impl Send for SessionContextBuilder
impl Sync for SessionContextBuilder
impl Unpin for SessionContextBuilder
impl UnwindSafe for SessionContextBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.