|
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.LoginProfile
public class LoginProfile
The LoginProfile data type contains the user name and password create date for a user.
This data type is used as a response element in the actions CreateLoginProfile and GetLoginProfile.
Constructor Summary | |
---|---|
LoginProfile()
Default constructor for a new LoginProfile object. |
|
LoginProfile(String userName,
Date createDate)
Constructs a new LoginProfile object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Date |
getCreateDate()
The date when the password for the user was created. |
String |
getUserName()
The name of the user, which can be used for signing into the AWS Management Console. |
int |
hashCode()
|
void |
setCreateDate(Date createDate)
The date when the password for the user was created. |
void |
setUserName(String userName)
The name of the user, which can be used for signing into the AWS Management Console. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
LoginProfile |
withCreateDate(Date createDate)
The date when the password for the user was created. |
LoginProfile |
withUserName(String userName)
The name of the user, which can be used for signing into the AWS Management Console. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LoginProfile()
public LoginProfile(String userName, Date createDate)
userName
- The name of the user, which can be used for signing
into the AWS Management Console.createDate
- The date when the password for the user was created.Method Detail |
---|
public String getUserName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName
- The name of the user, which can be used for signing into the AWS
Management Console.public LoginProfile withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
userName
- The name of the user, which can be used for signing into the AWS
Management Console.
public Date getCreateDate()
public void setCreateDate(Date createDate)
createDate
- The date when the password for the user was created.public LoginProfile withCreateDate(Date createDate)
Returns a reference to this object so that method calls can be chained together.
createDate
- The date when the password for the user 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 |