public void setPassword(String password) {
        this.password = password;
    }
<p>
The new password for the specified IAM user.
</p>
<p>
The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> used to validate this parameter is a string of
characters consisting of the following:
</p>
<ul>
<li>
<p>
Any printable ASCII character ranging from the space character (<code>\u0020</code>) through the end of the ASCII
character range
</p>
</li>
<li>
<p>
The printable characters in the Basic Latin and Latin-1 Supplement character set (through <code>\u00FF</code>)
</p>
</li>
<li>
<p>
The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and carriage return (<code>\u000D</code>
)
</p>
</li>
</ul>
<p>
However, the format can be further restricted by the account administrator by setting a password policy on the
Amazon Web Services account. For more information, see <a>UpdateAccountPasswordPolicy</a>.
</p>

@param password
       The new password for the specified IAM user.</p>
       <p>
       The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> used to validate this parameter is a
       string of characters consisting of the following:
       </p>
       <ul>
       <li>
       <p>
       Any printable ASCII character ranging from the space character (<code>\u0020</code>) through the end of
       the ASCII character range
       </p>
       </li>
       <li>
       <p>
       The printable characters in the Basic Latin and Latin-1 Supplement character set (through
       <code>\u00FF</code>)
       </p>
       </li>
       <li>
       <p>
       The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and carriage return (
       <code>\u000D</code>)
       </p>
       </li>
       </ul>
       <p>
       However, the format can be further restricted by the account administrator by setting a password policy on
       the Amazon Web Services account. For more information, see <a>UpdateAccountPasswordPolicy</a>.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/UpdateLoginProfileRequest.java