skip setters lombok from data code example Example: lombok ignore attribute @Getter(AccessLevel.NONE) @Setter(AccessLevel.NONE) private int mySecret;