@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 Amazon Web Services 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 Amazon Web Services.
|
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 final 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 final Instant 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.
This field is null if no IAM entities attempted to access the service within the tracking 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.