Class AccessKeyMetadata
- All Implemented Interfaces:
Serializable, Cloneable
Contains information about an AWS access key, without its secret key.
This data type is used as a response element in the ListAccessKeys action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe ID for this access key.The date when the access key was created.The status of the access key.The name of the IAM user that the key is associated with.inthashCode()voidsetAccessKeyId(String accessKeyId) The ID for this access key.voidsetCreateDate(Date createDate) The date when the access key was created.voidsetStatus(StatusType status) The status of the access key.voidThe status of the access key.voidsetUserName(String userName) The name of the IAM user that the key is associated with.toString()Returns a string representation of this object; useful for testing and debugging.withAccessKeyId(String accessKeyId) The ID for this access key.withCreateDate(Date createDate) The date when the access key was created.withStatus(StatusType status) The status of the access key.withStatus(String status) The status of the access key.withUserName(String userName) The name of the IAM user that the key is associated with.
-
Constructor Details
-
AccessKeyMetadata
public AccessKeyMetadata()
-
-
Method Details
-
setUserName
The name of the IAM user that the key is associated with.
- Parameters:
userName- The name of the IAM user that the key is associated with.
-
getUserName
The name of the IAM user that the key is associated with.
- Returns:
- The name of the IAM user that the key is associated with.
-
withUserName
The name of the IAM user that the key is associated with.
- Parameters:
userName- The name of the IAM user that the key is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAccessKeyId
The ID for this access key.
- Parameters:
accessKeyId- The ID for this access key.
-
getAccessKeyId
-
withAccessKeyId
The ID for this access key.
- Parameters:
accessKeyId- The ID for this access key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The status of the access key.
Activemeans the key is valid for API calls;Inactivemeans it is not.- Parameters:
status- The status of the access key.Activemeans the key is valid for API calls;Inactivemeans it is not.- See Also:
-
getStatus
The status of the access key.
Activemeans the key is valid for API calls;Inactivemeans it is not.- Returns:
- The status of the access key.
Activemeans the key is valid for API calls;Inactivemeans it is not. - See Also:
-
withStatus
The status of the access key.
Activemeans the key is valid for API calls;Inactivemeans it is not.- Parameters:
status- The status of the access key.Activemeans the key is valid for API calls;Inactivemeans it is not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The status of the access key.
Activemeans the key is valid for API calls;Inactivemeans it is not.- Parameters:
status- The status of the access key.Activemeans the key is valid for API calls;Inactivemeans it is not.- See Also:
-
withStatus
The status of the access key.
Activemeans the key is valid for API calls;Inactivemeans it is not.- Parameters:
status- The status of the access key.Activemeans the key is valid for API calls;Inactivemeans it is not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setCreateDate
The date when the access key was created.
- Parameters:
createDate- The date when the access key was created.
-
getCreateDate
The date when the access key was created.
- Returns:
- The date when the access key was created.
-
withCreateDate
The date when the access key was created.
- Parameters:
createDate- The date when the access key was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-