void (String[] args) { FindUsageWitherRecord findUsageWitherRecord = new FindUsageWitherRecord(1, "bar"); findUsageWitherRecord .withBar("myBar") .withFoo(1981); System.out.println("Bar is: " + findUsageWitherRecord.bar()); System.out.println("Foo is: " + findUsageWitherRecord.foo()); }