lombok @data nested class code example Example: lombok ignore attribute Click to copy@Getter(AccessLevel.NONE) @Setter(AccessLevel.NONE) private int mySecret;