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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityDetails.Builderbuilder()final EntityInfoTheEntityInfoobject that contains details about the entity (user or role).final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe date and time, in ISO 8601 date-time format, when the authenticated entity last attempted to access Amazon Web Services.static Class<? extends EntityDetails.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<EntityDetails.Builder,EntityDetails>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-