public ModifyUserRequest withPasswords(java.util.Collection<String> passwords) {
        setPasswords(passwords);
        return this;
    }
<p>
The passwords belonging to the user. You are allowed up to two.
</p>

@param passwords
       The passwords belonging to the user. You are allowed up to two.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/ModifyUserRequest.java