Class GetAccessKeyLastUsedResult
java.lang.Object
com.amazonaws.services.identitymanagement.model.GetAccessKeyLastUsedResult
- All Implemented Interfaces:
Serializable,Cloneable
Contains the response to a successful GetAccessKeyLastUsed request. It is also returned as a member of the AccessKeyMetaData structure returned by the ListAccessKeys action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanContains information about the last time the access key was used.The name of the AWS IAM user that owns this access key.inthashCode()voidsetAccessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed) Contains information about the last time the access key was used.voidsetUserName(String userName) The name of the AWS IAM user that owns this access key.toString()Returns a string representation of this object; useful for testing and debugging.withAccessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed) Contains information about the last time the access key was used.withUserName(String userName) The name of the AWS IAM user that owns this access key.
-
Constructor Details
-
GetAccessKeyLastUsedResult
public GetAccessKeyLastUsedResult()
-
-
Method Details
-
setUserName
The name of the AWS IAM user that owns this access key.
- Parameters:
userName- The name of the AWS IAM user that owns this access key.
-
getUserName
The name of the AWS IAM user that owns this access key.
- Returns:
- The name of the AWS IAM user that owns this access key.
-
withUserName
The name of the AWS IAM user that owns this access key.
- Parameters:
userName- The name of the AWS IAM user that owns this access key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAccessKeyLastUsed
Contains information about the last time the access key was used.
- Parameters:
accessKeyLastUsed- Contains information about the last time the access key was used.
-
getAccessKeyLastUsed
Contains information about the last time the access key was used.
- Returns:
- Contains information about the last time the access key was used.
-
withAccessKeyLastUsed
Contains information about the last time the access key was used.
- Parameters:
accessKeyLastUsed- Contains information about the last time the access key was used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-