io.fabric8.openshift.api.model.machineconfiguration.v1.ControllerConfigBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.machineconfiguration.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ControllerConfigBuilder extends ControllerConfigFluent implements VisitableBuilder{
public ControllerConfigBuilder() {
this(new ControllerConfig());
}
public ControllerConfigBuilder(ControllerConfigFluent> fluent) {
this(fluent, new ControllerConfig());
}
public ControllerConfigBuilder(ControllerConfigFluent> fluent,ControllerConfig instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public ControllerConfigBuilder(ControllerConfig instance) {
this.fluent = this;
this.copyInstance(instance);
}
ControllerConfigFluent> fluent;
public ControllerConfig build() {
ControllerConfig buildable = new ControllerConfig(fluent.getApiVersion(),fluent.getKind(),fluent.buildMetadata(),fluent.buildSpec(),fluent.buildStatus());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy