@Generated(value="software.amazon.awssdk:codegen") public final class AccessKeyLastUsed extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccessKeyLastUsed.Builder,AccessKeyLastUsed>
Describes the last time an access key was used.
This object does not include data in the response of a CreateBucketAccessKey action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccessKeyLastUsed.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AccessKeyLastUsed.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUsedDate()
The date and time when the access key was most recently used.
|
String |
region()
The Amazon Web Services Region where this access key was most recently used.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccessKeyLastUsed.Builder> |
serializableBuilderClass() |
String |
serviceName()
The name of the Amazon Web Services service with which this access key was most recently used.
|
AccessKeyLastUsed.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant lastUsedDate()
The date and time when the access key was most recently used.
This value is null if the access key has not been used.
This value is null if the access key has not been used.
public final String region()
The Amazon Web Services Region where this access key was most recently used.
This value is N/A if the access key has not been used.
This value is N/A if the access key has not been used.
public final String serviceName()
The name of the Amazon Web Services service with which this access key was most recently used.
This value is N/A if the access key has not been used.
This value is N/A if the access key has not been used.
public AccessKeyLastUsed.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccessKeyLastUsed.Builder,AccessKeyLastUsed>public static AccessKeyLastUsed.Builder builder()
public static Class<? extends AccessKeyLastUsed.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.