Struct aws_sdk_iam::model::entity_details::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for EntityDetails.
Implementations
sourceimpl Builder
impl Builder
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 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 reporting 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 reporting period.
sourcepub fn build(self) -> EntityDetails
pub fn build(self) -> EntityDetails
Consumes the builder and constructs a EntityDetails.