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