Struct aws_sdk_iam::types::builders::EntityDetailsBuilder
source · #[non_exhaustive]pub struct EntityDetailsBuilder { /* private fields */ }Expand description
A builder for EntityDetails.
Implementations§
source§impl EntityDetailsBuilder
impl EntityDetailsBuilder
sourcepub fn entity_info(self, input: EntityInfo) -> Self
pub fn entity_info(self, input: EntityInfo) -> Self
The EntityInfo object that contains details about the entity (user or role).
sourcepub fn set_entity_info(self, input: Option<EntityInfo>) -> Self
pub fn set_entity_info(self, input: Option<EntityInfo>) -> Self
The EntityInfo object that contains details about the entity (user or role).
sourcepub fn get_entity_info(&self) -> &Option<EntityInfo>
pub fn get_entity_info(&self) -> &Option<EntityInfo>
The EntityInfo object that contains details about the entity (user or role).
sourcepub fn last_authenticated(self, input: DateTime) -> Self
pub fn last_authenticated(self, input: DateTime) -> Self
The date and time, in ISO 8601 date-time format, when the authenticated entity last attempted to access Amazon Web Services. Amazon Web Services does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the tracking period.
sourcepub fn set_last_authenticated(self, input: Option<DateTime>) -> Self
pub fn set_last_authenticated(self, input: Option<DateTime>) -> Self
The date and time, in ISO 8601 date-time format, when the authenticated entity last attempted to access Amazon Web Services. Amazon Web Services does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the tracking period.
sourcepub fn get_last_authenticated(&self) -> &Option<DateTime>
pub fn get_last_authenticated(&self) -> &Option<DateTime>
The date and time, in ISO 8601 date-time format, when the authenticated entity last attempted to access Amazon Web Services. Amazon Web Services does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the tracking period.
sourcepub fn build(self) -> EntityDetails
pub fn build(self) -> EntityDetails
Consumes the builder and constructs a EntityDetails.
Trait Implementations§
source§impl Clone for EntityDetailsBuilder
impl Clone for EntityDetailsBuilder
source§fn clone(&self) -> EntityDetailsBuilder
fn clone(&self) -> EntityDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EntityDetailsBuilder
impl Debug for EntityDetailsBuilder
source§impl Default for EntityDetailsBuilder
impl Default for EntityDetailsBuilder
source§fn default() -> EntityDetailsBuilder
fn default() -> EntityDetailsBuilder
source§impl PartialEq for EntityDetailsBuilder
impl PartialEq for EntityDetailsBuilder
source§fn eq(&self, other: &EntityDetailsBuilder) -> bool
fn eq(&self, other: &EntityDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EntityDetailsBuilder
Auto Trait Implementations§
impl Freeze for EntityDetailsBuilder
impl RefUnwindSafe for EntityDetailsBuilder
impl Send for EntityDetailsBuilder
impl Sync for EntityDetailsBuilder
impl Unpin for EntityDetailsBuilder
impl UnwindSafe for EntityDetailsBuilder
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
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>
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>
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 more