|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.identitymanagement.model.AccessKeyMetadata
public class AccessKeyMetadata
The AccessKey data type contains information about an AWS access key, without its secret key.
This data type is used as a response element in the action ListAccessKeys.
| Constructor Summary | |
|---|---|
AccessKeyMetadata()
Default constructor for a new AccessKeyMetadata object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAccessKeyId()
The ID for this access key. |
java.util.Date |
getCreateDate()
The date when the access key was created. |
java.lang.String |
getStatus()
The status of the access key. |
java.lang.String |
getUserName()
Name of the user the key is associated with. |
int |
hashCode()
|
void |
setAccessKeyId(java.lang.String accessKeyId)
The ID for this access key. |
void |
setCreateDate(java.util.Date createDate)
The date when the access key was created. |
void |
setStatus(StatusType status)
The status of the access key. |
void |
setStatus(java.lang.String status)
The status of the access key. |
void |
setUserName(java.lang.String userName)
Name of the user the key is associated with. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AccessKeyMetadata |
withAccessKeyId(java.lang.String accessKeyId)
The ID for this access key. |
AccessKeyMetadata |
withCreateDate(java.util.Date createDate)
The date when the access key was created. |
AccessKeyMetadata |
withStatus(StatusType status)
The status of the access key. |
AccessKeyMetadata |
withStatus(java.lang.String status)
The status of the access key. |
AccessKeyMetadata |
withUserName(java.lang.String userName)
Name of the user the key is associated with. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AccessKeyMetadata()
| Method Detail |
|---|
public java.lang.String getUserName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setUserName(java.lang.String userName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName - Name of the user the key is associated with.public AccessKeyMetadata withUserName(java.lang.String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName - Name of the user the key is associated with.
public java.lang.String getAccessKeyId()
Constraints:
Length: 16 - 32
Pattern: [\w]*
public void setAccessKeyId(java.lang.String accessKeyId)
Constraints:
Length: 16 - 32
Pattern: [\w]*
accessKeyId - The ID for this access key.public AccessKeyMetadata withAccessKeyId(java.lang.String accessKeyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 16 - 32
Pattern: [\w]*
accessKeyId - The ID for this access key.
public java.lang.String getStatus()
Active means the key is
valid for API calls, while Inactive means it is not.
Constraints:
Allowed Values: Active, Inactive
Active means the key is
valid for API calls, while Inactive means it is not.StatusTypepublic void setStatus(java.lang.String status)
Active means the key is
valid for API calls, while Inactive means it is not.
Constraints:
Allowed Values: Active, Inactive
status - The status of the access key. Active means the key is
valid for API calls, while Inactive means it is not.StatusTypepublic AccessKeyMetadata withStatus(java.lang.String status)
Active means the key is
valid for API calls, while Inactive means it is not.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Active, Inactive
status - The status of the access key. Active means the key is
valid for API calls, while Inactive means it is not.
StatusTypepublic void setStatus(StatusType status)
Active means the key is
valid for API calls, while Inactive means it is not.
Constraints:
Allowed Values: Active, Inactive
status - The status of the access key. Active means the key is
valid for API calls, while Inactive means it is not.StatusTypepublic AccessKeyMetadata withStatus(StatusType status)
Active means the key is
valid for API calls, while Inactive means it is not.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Active, Inactive
status - The status of the access key. Active means the key is
valid for API calls, while Inactive means it is not.
StatusTypepublic java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)
createDate - The date when the access key was created.public AccessKeyMetadata withCreateDate(java.util.Date createDate)
Returns a reference to this object so that method calls can be chained together.
createDate - The date when the access key was created.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||