@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 AWS IAM user that owns this access key.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String userName()
The name of the AWS IAM user that owns this access key.
public 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 int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.