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 ==.