@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAccessKeyLastUsedResult extends AmazonWebServiceResult<ResponseMetadata> 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.
Constructor and Description |
---|
GetAccessKeyLastUsedResult() |
Modifier and Type | Method and Description |
---|---|
GetAccessKeyLastUsedResult |
clone() |
boolean |
equals(Object obj) |
AccessKeyLastUsed |
getAccessKeyLastUsed()
Contains information about the last time the access key was used.
|
String |
getUserName()
The name of the AWS IAM user that owns this access key.
|
int |
hashCode() |
void |
setAccessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)
Contains information about the last time the access key was used.
|
void |
setUserName(String userName)
The name of the AWS IAM user that owns this access key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetAccessKeyLastUsedResult |
withAccessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)
Contains information about the last time the access key was used.
|
GetAccessKeyLastUsedResult |
withUserName(String userName)
The name of the AWS IAM user that owns this access key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUserName(String userName)
The name of the AWS IAM user that owns this access key.
userName
- The name of the AWS IAM user that owns this access key.
public String getUserName()
The name of the AWS IAM user that owns this access key.
public GetAccessKeyLastUsedResult withUserName(String userName)
The name of the AWS IAM user that owns this access key.
userName
- The name of the AWS IAM user that owns this access key.
public void setAccessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)
Contains information about the last time the access key was used.
accessKeyLastUsed
- Contains information about the last time the access key was used.public AccessKeyLastUsed getAccessKeyLastUsed()
Contains information about the last time the access key was used.
public GetAccessKeyLastUsedResult withAccessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)
Contains information about the last time the access key was used.
accessKeyLastUsed
- Contains information about the last time the access key was used.public String toString()
toString
in class Object
Object.toString()
public GetAccessKeyLastUsedResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.