@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityDetails extends Object implements Serializable, Cloneable
An object that contains details about when the IAM entities (users or roles) were last used in an attempt to access the specified Amazon Web Services service.
This data type is a response element in the GetServiceLastAccessedDetailsWithEntities operation.
Constructor and Description |
---|
EntityDetails() |
Modifier and Type | Method and Description |
---|---|
EntityDetails |
clone() |
boolean |
equals(Object obj) |
EntityInfo |
getEntityInfo()
The
EntityInfo object that contains details about the entity (user or role). |
Date |
getLastAuthenticated()
The date and time, in ISO 8601 date-time format, when the
authenticated entity last attempted to access Amazon Web Services.
|
int |
hashCode() |
void |
setEntityInfo(EntityInfo entityInfo)
The
EntityInfo object that contains details about the entity (user or role). |
void |
setLastAuthenticated(Date lastAuthenticated)
The date and time, in ISO 8601 date-time format, when the
authenticated entity last attempted to access Amazon Web Services.
|
String |
toString()
Returns a string representation of this object.
|
EntityDetails |
withEntityInfo(EntityInfo entityInfo)
The
EntityInfo object that contains details about the entity (user or role). |
EntityDetails |
withLastAuthenticated(Date lastAuthenticated)
The date and time, in ISO 8601 date-time format, when the
authenticated entity last attempted to access Amazon Web Services.
|
public void setEntityInfo(EntityInfo entityInfo)
The EntityInfo
object that contains details about the entity (user or role).
entityInfo
- The EntityInfo
object that contains details about the entity (user or role).public EntityInfo getEntityInfo()
The EntityInfo
object that contains details about the entity (user or role).
EntityInfo
object that contains details about the entity (user or role).public EntityDetails withEntityInfo(EntityInfo entityInfo)
The EntityInfo
object that contains details about the entity (user or role).
entityInfo
- The EntityInfo
object that contains details about the entity (user or role).public void setLastAuthenticated(Date lastAuthenticated)
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.
lastAuthenticated
- 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.
public Date getLastAuthenticated()
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.
This field is null if no IAM entities attempted to access the service within the tracking period.
public EntityDetails withLastAuthenticated(Date lastAuthenticated)
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.
lastAuthenticated
- 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.
public String toString()
toString
in class Object
Object.toString()
public EntityDetails clone()