// Generated by delombok at Sun Nov 06 21:28:13 CET 2022

public class BuilderExample {
  private String name;
  private int age;

  @java.lang.SuppressWarnings("all")
  BuilderExample(final String name, final int age) {
    this.name = name;
    this.age = age;
  }


  @java.lang.SuppressWarnings("all")
  public static class BuilderExampleBuilder {
    @java.lang.SuppressWarnings("all")
    private String name;
    @java.lang.SuppressWarnings("all")
    private int age;

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

    /**
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public BuilderExample.BuilderExampleBuilder name(final String name) {
      this.name = name;
      return this;
    }

    /**
     * @return {@code this}.
     */
    @java.lang.SuppressWarnings("all")
    public BuilderExample.BuilderExampleBuilder age(final int age) {
      this.age = age;
      return this;
    }

    @java.lang.SuppressWarnings("all")
    public BuilderExample build() {
      return new BuilderExample(this.name, this.age);
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    public java.lang.String toString() {
      return "BuilderExample.BuilderExampleBuilder(name=" + this.name + ", age=" + this.age + ")";
    }
  }

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