SyntaxFix
Write A Post
Hire A Developer
Questions
You need to declare the Builder inner class as static.
Builder
static
Consult some documentation for both non-static inner classes and static inner classes.
Basically the non-static inner classes instances cannot exist without attached outer class instance.