public UpdateUserResult withUser(User user) {
        setUser(user);
        return this;
    }
<p>
The updated user
</p>

@param user
       The updated user
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/UpdateUserResult.java