@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoginProfile extends Object implements Serializable, Cloneable
Contains the user name and password create date for a user.
This data type is used as a response element in the CreateLoginProfile and GetLoginProfile actions.
Constructor and Description |
---|
LoginProfile()
Default constructor for LoginProfile object.
|
LoginProfile(String userName,
Date createDate)
Constructs a new LoginProfile object.
|
Modifier and Type | Method and Description |
---|---|
LoginProfile |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateDate()
The date when the password for the user was created.
|
Boolean |
getPasswordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
|
String |
getUserName()
The name of the user, which can be used for signing in to the AWS Management Console.
|
int |
hashCode() |
Boolean |
isPasswordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
|
void |
setCreateDate(Date createDate)
The date when the password for the user was created.
|
void |
setPasswordResetRequired(Boolean passwordResetRequired)
Specifies whether the user is required to set a new password on next sign-in.
|
void |
setUserName(String userName)
The name of the user, which can be used for signing in to 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 |
withPasswordResetRequired(Boolean passwordResetRequired)
Specifies whether the user is required to set a new password on next sign-in.
|
LoginProfile |
withUserName(String userName)
The name of the user, which can be used for signing in to the AWS Management Console.
|
public LoginProfile()
public LoginProfile(String userName, Date createDate)
userName
- The name of the user, which can be used for signing in to the AWS Management Console.createDate
- The date when the password for the user was created.public void setUserName(String userName)
The name of the user, which can be used for signing in to the AWS Management Console.
userName
- The name of the user, which can be used for signing in to the AWS Management Console.public String getUserName()
The name of the user, which can be used for signing in to the AWS Management Console.
public LoginProfile withUserName(String userName)
The name of the user, which can be used for signing in to the AWS Management Console.
userName
- The name of the user, which can be used for signing in to the AWS Management Console.public void setCreateDate(Date createDate)
The date when the password for the user was created.
createDate
- The date when the password for the user was created.public Date getCreateDate()
The date when the password for the user was created.
public LoginProfile withCreateDate(Date createDate)
The date when the password for the user was created.
createDate
- The date when the password for the user was created.public void setPasswordResetRequired(Boolean passwordResetRequired)
Specifies whether the user is required to set a new password on next sign-in.
passwordResetRequired
- Specifies whether the user is required to set a new password on next sign-in.public Boolean getPasswordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
public LoginProfile withPasswordResetRequired(Boolean passwordResetRequired)
Specifies whether the user is required to set a new password on next sign-in.
passwordResetRequired
- Specifies whether the user is required to set a new password on next sign-in.public Boolean isPasswordResetRequired()
Specifies whether the user is required to set a new password on next sign-in.
public String toString()
toString
in class Object
Object.toString()
public LoginProfile clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.