// Generated by delombok at Sun Nov 06 21:27:33 CET 2022

public class BuilderAndAllArgsConstructor {
  private String field1;
  private String field2;


  @java.lang.SuppressWarnings("all")
  public static class BuilderAndAllArgsConstructorBuilder {
    @java.lang.SuppressWarnings("all")
    private String field1;
    @java.lang.SuppressWarnings("all")
    private String field2;

    @java.lang.SuppressWarnings("all")
    BuilderAndAllArgsConstructorBuilder() {
    }

    /**
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public BuilderAndAllArgsConstructor.BuilderAndAllArgsConstructorBuilder field1(final String field1) {
      this.field1 = field1;
      return this;
    }

    /**
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public BuilderAndAllArgsConstructor.BuilderAndAllArgsConstructorBuilder field2(final String field2) {
      this.field2 = field2;
      return this;
    }

    @java.lang.SuppressWarnings("all")
    public BuilderAndAllArgsConstructor build() {
      return new BuilderAndAllArgsConstructor(this.field1, this.field2);
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
      return "BuilderAndAllArgsConstructor.BuilderAndAllArgsConstructorBuilder(field1=" + this.field1 + ", field2=" + this.field2 + ")";
    }
  }

  @java.lang.SuppressWarnings("all")
  public static BuilderAndAllArgsConstructor.BuilderAndAllArgsConstructorBuilder builder() {
    return new BuilderAndAllArgsConstructor.BuilderAndAllArgsConstructorBuilder();
  }

  @java.lang.SuppressWarnings("all")
  private BuilderAndAllArgsConstructor(final String field1, final String field2) {
    this.field1 = field1;
    this.field2 = field2;
  }
}
