lombok make build return differrent data type code example
Example: lombok builder is not public
//Use the static method only
MyClass instance = MyClass.builder().build();
//Use the static method only
MyClass instance = MyClass.builder().build();