You can buy this project and download/modify it how often you want.
package io.sundr.model; import io.sundr.builder.VisitableBuilder; public class SourceBuilder extends SourceFluent implements VisitableBuilder{ public SourceBuilder() { this(new Source()); } public SourceBuilder(SourceFluent> fluent) { this(fluent, new Source()); } public SourceBuilder(SourceFluent> fluent,Source instance) { this.fluent = fluent; fluent.copyInstance(instance); } public SourceBuilder(Source instance) { this.fluent = this; this.copyInstance(instance); } SourceFluent> fluent; public Source build() { Source buildable = new Source(fluent.buildTypes()); return buildable; } }