Class EntityDetails
- java.lang.Object
-
- software.amazon.awssdk.services.iam.model.EntityDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EntityDetails.Builder,EntityDetails>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEntityDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityDetails.Builderbuilder()EntityInfoentityInfo()TheEntityInfoobject that contains details about the entity (user or role).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastAuthenticated()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
entityInfo
public final EntityInfo entityInfo()
The
EntityInfoobject that contains details about the entity (user or role).- Returns:
- The
EntityInfoobject that contains details about the entity (user or role).
-
lastAuthenticated
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.
- Returns:
- 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.
-
toBuilder
public EntityDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EntityDetails.Builder,EntityDetails>
-
builder
public static EntityDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends EntityDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-