Class GetAccessKeyLastUsedResult
- java.lang.Object
-
- com.amazonaws.services.identitymanagement.model.GetAccessKeyLastUsedResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetAccessKeyLastUsedResult extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetAccessKeyLastUsedResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAccessKeyLastUsedResultclone()booleanequals(Object obj)AccessKeyLastUsedgetAccessKeyLastUsed()Contains information about the last time the access key was used.StringgetUserName()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.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetAccessKeyLastUsedResultwithAccessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)Contains information about the last time the access key was used.GetAccessKeyLastUsedResultwithUserName(String userName)The name of the AWS IAM user that owns this access key.
-
-
-
Method Detail
-
setUserName
public void setUserName(String userName)
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
public String 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
public GetAccessKeyLastUsedResult withUserName(String userName)
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
public void setAccessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)
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
public AccessKeyLastUsed 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
public GetAccessKeyLastUsedResult withAccessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetAccessKeyLastUsedResult clone()
-
-