Class LoginProfile
- All Implemented Interfaces:
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for LoginProfile object.LoginProfile
(String userName, Date createDate) Constructs a new LoginProfile object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date when the password for the user was created.Specifies whether the user is required to set a new password on next sign-in.The name of the user, which can be used for signing in to the AWS Management Console.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withCreateDate
(Date createDate) The date when the password for the user was created.withPasswordResetRequired
(Boolean passwordResetRequired) Specifies whether the user is required to set a new password on next sign-in.withUserName
(String userName) The name of the user, which can be used for signing in to the AWS Management Console.
-
Constructor Details
-
LoginProfile
public LoginProfile()Default constructor for LoginProfile object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
LoginProfile
Constructs a new LoginProfile object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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.
-
-
Method Details
-
setUserName
The name of the user, which can be used for signing in to the AWS Management Console.
- Parameters:
userName
- The name of the user, which can be used for signing in to the AWS Management Console.
-
getUserName
The name of the user, which can be used for signing in to the AWS Management Console.
- Returns:
- The name of the user, which can be used for signing in to the AWS Management Console.
-
withUserName
The name of the user, which can be used for signing in to the AWS Management Console.
- Parameters:
userName
- The name of the user, which can be used for signing in to the AWS Management Console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreateDate
The date when the password for the user was created.
- Parameters:
createDate
- The date when the password for the user was created.
-
getCreateDate
The date when the password for the user was created.
- Returns:
- The date when the password for the user was created.
-
withCreateDate
The date when the password for the user was created.
- Parameters:
createDate
- The date when the password for the user was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPasswordResetRequired
Specifies whether the user is required to set a new password on next sign-in.
- Parameters:
passwordResetRequired
- Specifies whether the user is required to set a new password on next sign-in.
-
getPasswordResetRequired
Specifies whether the user is required to set a new password on next sign-in.
- Returns:
- Specifies whether the user is required to set a new password on next sign-in.
-
withPasswordResetRequired
Specifies whether the user is required to set a new password on next sign-in.
- Parameters:
passwordResetRequired
- Specifies whether the user is required to set a new password on next sign-in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPasswordResetRequired
Specifies whether the user is required to set a new password on next sign-in.
- Returns:
- Specifies whether the user is required to set a new password on next sign-in.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-