Interface AdminSetUserPasswordRequest.Builder

    • Method Detail

      • userPoolId

        AdminSetUserPasswordRequest.Builder userPoolId​(String userPoolId)

        The user pool ID for the user pool where you want to set the user's password.

        Parameters:
        userPoolId - The user pool ID for the user pool where you want to set the user's password.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • username

        AdminSetUserPasswordRequest.Builder username​(String username)

        The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.

        Parameters:
        username - The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • password

        AdminSetUserPasswordRequest.Builder password​(String password)

        The password for the user.

        Parameters:
        password - The password for the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permanent

        AdminSetUserPasswordRequest.Builder permanent​(Boolean permanent)

        True if the password is permanent, False if it is temporary.

        Parameters:
        permanent - True if the password is permanent, False if it is temporary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.