title: How to access Builder() of a JPA entity using Lombok with Spring Boot?
body: <p>This is my entity class. I have used @Builder annotation. The Lombok version is 1.16.16</p>
  
  <pre><code>@Builder
  @AllArgsConstructor
  @NoArgsConstructor
  @RequiredArgsConstructor
  @Data
  @Entity
  @EqualsAndHashCode
  @ToString
  public class Book {
  
      @Id
      @GeneratedValue(strategy = GenerationType.AUTO)
      private Long id;
      private String name;
      private String author;
  
  }
  </code></pre>
  
  <p>Now, when I am trying to call the Builder() method in the main class, it is not getting resolved.</p>
  
  <pre><code>Stream.of("Post one", "Post two").forEach(
                  title -&gt; this.booksList.save(Book.Builder().title(title).author("author of " + title).build())
              );   
  </code></pre>
  
  <p>This is being shown.</p>
  
  <blockquote>
    <p>The method Builder() is undefined for the type Book</p>
  </blockquote>