@Generated(value="software.amazon.awssdk:codegen") public final class TrackedActionLastAccessed extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrackedActionLastAccessed.Builder,TrackedActionLastAccessed>
Contains details about the most recent attempt to access an action within the service.
This data type is used as a response element in the GetServiceLastAccessedDetails operation.
Modifier and Type | Class and Description |
---|---|
static interface |
TrackedActionLastAccessed.Builder |
Modifier and Type | Method and Description |
---|---|
String |
actionName()
The name of the tracked action to which access was attempted.
|
static TrackedActionLastAccessed.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastAccessedEntity()
Returns the value of the LastAccessedEntity property for this object.
|
String |
lastAccessedRegion()
The Region from which the authenticated entity (user or role) last attempted to access the tracked action.
|
Instant |
lastAccessedTime()
The date and time, in ISO 8601 date-time format, when an
authenticated entity most recently attempted to access the tracked service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TrackedActionLastAccessed.Builder> |
serializableBuilderClass() |
TrackedActionLastAccessed.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String actionName()
The name of the tracked action to which access was attempted. Tracked actions are actions that report activity to IAM.
public final String lastAccessedEntity()
public final Instant lastAccessedTime()
The date and time, in ISO 8601 date-time format, when an authenticated entity most recently attempted to access the tracked service. 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 final String lastAccessedRegion()
The Region from which the authenticated entity (user or role) last attempted to access the tracked action. 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 TrackedActionLastAccessed.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TrackedActionLastAccessed.Builder,TrackedActionLastAccessed>
public static TrackedActionLastAccessed.Builder builder()
public static Class<? extends TrackedActionLastAccessed.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.