java.lang.Object
com.amazonaws.services.identitymanagement.model.LoginProfile
All Implemented Interfaces:
Serializable, Cloneable

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.

See Also:
  • 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

      public LoginProfile(String userName, Date createDate)
      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

      public void setUserName(String userName)

      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

      public String 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

      public LoginProfile withUserName(String userName)

      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

      public void setCreateDate(Date createDate)

      The date when the password for the user was created.

      Parameters:
      createDate - The date when the password for the user was created.
    • getCreateDate

      public Date getCreateDate()

      The date when the password for the user was created.

      Returns:
      The date when the password for the user was created.
    • withCreateDate

      public LoginProfile withCreateDate(Date createDate)

      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

      public void setPasswordResetRequired(Boolean passwordResetRequired)

      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

      public Boolean 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

      public LoginProfile withPasswordResetRequired(Boolean passwordResetRequired)

      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

      public Boolean 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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public LoginProfile clone()
      Overrides:
      clone in class Object