Class GetAccessKeyLastUsedResponse
java.lang.Object
software.amazon.awssdk.core.SdkResponse
software.amazon.awssdk.awscore.AwsResponse
software.amazon.awssdk.services.iam.model.IamResponse
software.amazon.awssdk.services.iam.model.GetAccessKeyLastUsedResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetAccessKeyLastUsedResponse.Builder,GetAccessKeyLastUsedResponse>
@Generated("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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AccessKeyLastUsedContains information about the last time the access key was used.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends GetAccessKeyLastUsedResponse.Builder>final StringtoString()Returns a string representation of this object.final StringuserName()The name of the IAM user that owns this access key.Methods inherited from class software.amazon.awssdk.services.iam.model.IamResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods 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
-
userName
The name of the IAM user that owns this access key.
- Returns:
- The name of the IAM user that owns this access key.
-
accessKeyLastUsed
Contains information about the last time the access key was used.
- Returns:
- Contains information about the last time the access key was used.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAccessKeyLastUsedResponse.Builder,GetAccessKeyLastUsedResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
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
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-