io.fabric8.openshift.api.model.console.v1.ConsoleSampleSourceBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.console.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ConsoleSampleSourceBuilder extends ConsoleSampleSourceFluent implements VisitableBuilder{
public ConsoleSampleSourceBuilder() {
this(new ConsoleSampleSource());
}
public ConsoleSampleSourceBuilder(ConsoleSampleSourceFluent> fluent) {
this(fluent, new ConsoleSampleSource());
}
public ConsoleSampleSourceBuilder(ConsoleSampleSourceFluent> fluent,ConsoleSampleSource instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public ConsoleSampleSourceBuilder(ConsoleSampleSource instance) {
this.fluent = this;
this.copyInstance(instance);
}
ConsoleSampleSourceFluent> fluent;
public ConsoleSampleSource build() {
ConsoleSampleSource buildable = new ConsoleSampleSource(fluent.buildContainerImport(),fluent.buildGitImport(),fluent.getType());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy