4 ms·Actually, I think it would be the lombok @Value. Record classes are immutable, while @Data adds set methods.by mabbo 5y agoActually, I think it would be the lombok @Value. Record classes are immutable, while @Data adds set methods.