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
impl StructuralPartialEq for SessionContextBuilder
Auto Trait Implementations§
impl Freeze for SessionContextBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.