use of lombok @Builder code example Example: lombok builder is not public //Use the static method only MyClass instance = MyClass.builder().build();