|
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(Object obj)
|
String |
getAccessKeyId()
The ID for this access key. |
Date |
getCreateDate()
The date when the access key was created. |
String |
getStatus()
The status of the access key. |
String |
getUserName()
Name of the user the key is associated with. |
int |
hashCode()
|
void |
setAccessKeyId(String accessKeyId)
The ID for this access key. |
void |
setCreateDate(Date createDate)
The date when the access key was created. |
void |
setStatus(StatusType status)
The status of the access key. |
void |
setStatus(String status)
The status of the access key. |
void |
setUserName(String userName)
Name of the user the key is associated with. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AccessKeyMetadata |
withAccessKeyId(String accessKeyId)
The ID for this access key. |
AccessKeyMetadata |
withCreateDate(Date createDate)
The date when the access key was created. |
AccessKeyMetadata |
withStatus(StatusType status)
The status of the access key. |
AccessKeyMetadata |
withStatus(String status)
The status of the access key. |
AccessKeyMetadata |
withUserName(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 String getUserName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName
- Name of the user the key is associated with.public AccessKeyMetadata withUserName(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 String getAccessKeyId()
Constraints:
Length: 16 - 32
Pattern: [\w]*
public void setAccessKeyId(String accessKeyId)
Constraints:
Length: 16 - 32
Pattern: [\w]*
accessKeyId
- The ID for this access key.public AccessKeyMetadata withAccessKeyId(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 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.StatusType
public void setStatus(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.StatusType
public AccessKeyMetadata withStatus(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.
StatusType
public 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.StatusType
public 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.
StatusType
public Date getCreateDate()
public void setCreateDate(Date createDate)
createDate
- The date when the access key was created.public AccessKeyMetadata withCreateDate(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |