@Generated(value="software.amazon.awssdk:codegen") public final class EntityDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EntityDetails.Builder,EntityDetails>
An object that contains details about when the IAM entities (users or roles) were last used in an attempt to access the specified AWS service.
This data type is a response element in the GetServiceLastAccessedDetailsWithEntities operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EntityDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EntityDetails.Builder |
builder() |
EntityInfo |
entityInfo()
The
EntityInfo object that contains details about the entity (user or role). |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastAuthenticated()
The date and time, in ISO 8601 date-time format, when the
authenticated entity last attempted to access AWS.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EntityDetails.Builder> |
serializableBuilderClass() |
EntityDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic EntityInfo entityInfo()
The EntityInfo object that contains details about the entity (user or role).
EntityInfo object that contains details about the entity (user or role).public Instant lastAuthenticated()
The date and time, in ISO 8601 date-time format, when the authenticated entity last attempted to access AWS. AWS does not report unauthenticated requests.
This field is null if no IAM entities attempted to access the service within the reporting period.
This field is null if no IAM entities attempted to access the service within the reporting period.
public EntityDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EntityDetails.Builder,EntityDetails>public static EntityDetails.Builder builder()
public static Class<? extends EntityDetails.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.