How to update a list object where matching condition using java 8
list --> Obj to iterate
list.stream().filter(d -> { if(d.getAvaila