public class LoginProfile
extends java.lang.Object
implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
LoginProfile()
Default constructor for a new LoginProfile object.
|
LoginProfile(java.lang.String userName,
java.util.Date createDate)
Constructs a new LoginProfile object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreateDate()
The date when the password for the user was created.
|
java.lang.String |
getUserName()
The name of the user, which can be used for signing into the AWS
Management Console.
|
int |
hashCode() |
void |
setCreateDate(java.util.Date createDate)
The date when the password for the user was created.
|
void |
setUserName(java.lang.String userName)
The name of the user, which can be used for signing into the AWS
Management Console.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoginProfile |
withCreateDate(java.util.Date createDate)
The date when the password for the user was created.
|
LoginProfile |
withUserName(java.lang.String userName)
The name of the user, which can be used for signing into the AWS
Management Console.
|
public LoginProfile()
public LoginProfile(java.lang.String userName,
java.util.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.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 - The name of the user, which can be used for signing into the AWS
Management Console.public LoginProfile 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 - The name of the user, which can be used for signing into the AWS
Management Console.public java.util.Date getCreateDate()
public void setCreateDate(java.util.Date createDate)
createDate - The date when the password for the user was created.public LoginProfile withCreateDate(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object