builder lombok in java code example Example: lombok builder is not public //Use the static method only MyClass instance = MyClass.builder().build();