lombok setter ignore is code example Example: lombok ignore getter e setter @Getter(AccessLevel.NONE) @Setter(AccessLevel.NONE) private Object obj;