@Generated(value="software.amazon.awssdk:codegen") public final class GetAccessKeyLastUsedResponse extends IamResponse implements ToCopyableBuilder<GetAccessKeyLastUsedResponse.Builder,GetAccessKeyLastUsedResponse>
Contains the response to a successful GetAccessKeyLastUsed request. It is also returned as a member of the AccessKeyMetaData structure returned by the ListAccessKeys action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetAccessKeyLastUsedResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
AccessKeyLastUsed |
accessKeyLastUsed()
Contains information about the last time the access key was used.
|
static GetAccessKeyLastUsedResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetAccessKeyLastUsedResponse.Builder> |
serializableBuilderClass() |
GetAccessKeyLastUsedResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The name of the IAM user that owns this access key.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userName()
The name of the IAM user that owns this access key.
public final AccessKeyLastUsed accessKeyLastUsed()
Contains information about the last time the access key was used.
public GetAccessKeyLastUsedResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetAccessKeyLastUsedResponse.Builder,GetAccessKeyLastUsedResponse>toBuilder in class AwsResponsepublic static GetAccessKeyLastUsedResponse.Builder builder()
public static Class<? extends GetAccessKeyLastUsedResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.