io.dekorate.helm.config.HelmChartConfigBuilder Maven / Gradle / Ivy
package io.dekorate.helm.config;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
/**
* Generated
*/
public class HelmChartConfigBuilder extends HelmChartConfigFluentImpl implements VisitableBuilder{
public HelmChartConfigBuilder() {
this(false);
}
public HelmChartConfigBuilder(Boolean validationEnabled) {
this(new HelmChartConfig(), validationEnabled);
}
public HelmChartConfigBuilder(HelmChartConfigFluent> fluent) {
this(fluent, false);
}
public HelmChartConfigBuilder(HelmChartConfigFluent> fluent,Boolean validationEnabled) {
this(fluent, new HelmChartConfig(), validationEnabled);
}
public HelmChartConfigBuilder(HelmChartConfigFluent> fluent,HelmChartConfig instance) {
this(fluent, instance, false);
}
public HelmChartConfigBuilder(HelmChartConfigFluent> fluent,HelmChartConfig instance,Boolean validationEnabled) {
this.fluent = fluent;
fluent.withProject(instance.getProject());
fluent.withAttributes(instance.getAttributes());
fluent.withEnabled(instance.getEnabled());
fluent.withName(instance.getName());
fluent.withApiVersion(instance.getApiVersion());
fluent.withValuesRootAlias(instance.getValuesRootAlias());
fluent.withDescription(instance.getDescription());
fluent.withVersion(instance.getVersion());
fluent.withIcon(instance.getIcon());
fluent.withHome(instance.getHome());
fluent.withKeywords(instance.getKeywords());
fluent.withSources(instance.getSources());
fluent.withCreateTarFile(instance.getCreateTarFile());
fluent.withExtension(instance.getExtension());
fluent.withNotes(instance.getNotes());
fluent.withInputFolder(instance.getInputFolder());
fluent.withOutputFolder(instance.getOutputFolder());
fluent.withMaintainers(instance.getMaintainers());
fluent.withDependencies(instance.getDependencies());
fluent.withValues(instance.getValues());
fluent.withExpressions(instance.getExpressions());
this.validationEnabled = validationEnabled;
}
public HelmChartConfigBuilder(HelmChartConfig instance) {
this(instance,false);
}
public HelmChartConfigBuilder(HelmChartConfig instance,Boolean validationEnabled) {
this.fluent = this;
this.withProject(instance.getProject());
this.withAttributes(instance.getAttributes());
this.withEnabled(instance.getEnabled());
this.withName(instance.getName());
this.withApiVersion(instance.getApiVersion());
this.withValuesRootAlias(instance.getValuesRootAlias());
this.withDescription(instance.getDescription());
this.withVersion(instance.getVersion());
this.withIcon(instance.getIcon());
this.withHome(instance.getHome());
this.withKeywords(instance.getKeywords());
this.withSources(instance.getSources());
this.withCreateTarFile(instance.getCreateTarFile());
this.withExtension(instance.getExtension());
this.withNotes(instance.getNotes());
this.withInputFolder(instance.getInputFolder());
this.withOutputFolder(instance.getOutputFolder());
this.withMaintainers(instance.getMaintainers());
this.withDependencies(instance.getDependencies());
this.withValues(instance.getValues());
this.withExpressions(instance.getExpressions());
this.validationEnabled = validationEnabled;
}
HelmChartConfigFluent> fluent;
Boolean validationEnabled;
public EditableHelmChartConfig build() {
EditableHelmChartConfig buildable = new EditableHelmChartConfig(fluent.getProject(),fluent.getAttributes(),fluent.getEnabled(),fluent.getName(),fluent.getApiVersion(),fluent.getValuesRootAlias(),fluent.getDescription(),fluent.getVersion(),fluent.getIcon(),fluent.getHome(),fluent.getKeywords(),fluent.getSources(),fluent.getCreateTarFile(),fluent.getExtension(),fluent.getNotes(),fluent.getInputFolder(),fluent.getOutputFolder(),fluent.getMaintainers(),fluent.getDependencies(),fluent.getValues(),fluent.getExpressions());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy