io.fabric8.openshift.api.model.machine.v1.ControlPlaneMachineSetTemplateBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.machine.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ControlPlaneMachineSetTemplateBuilder extends ControlPlaneMachineSetTemplateFluent implements VisitableBuilder{
public ControlPlaneMachineSetTemplateBuilder() {
this(new ControlPlaneMachineSetTemplate());
}
public ControlPlaneMachineSetTemplateBuilder(ControlPlaneMachineSetTemplateFluent> fluent) {
this(fluent, new ControlPlaneMachineSetTemplate());
}
public ControlPlaneMachineSetTemplateBuilder(ControlPlaneMachineSetTemplateFluent> fluent,ControlPlaneMachineSetTemplate instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public ControlPlaneMachineSetTemplateBuilder(ControlPlaneMachineSetTemplate instance) {
this.fluent = this;
this.copyInstance(instance);
}
ControlPlaneMachineSetTemplateFluent> fluent;
public ControlPlaneMachineSetTemplate build() {
ControlPlaneMachineSetTemplate buildable = new ControlPlaneMachineSetTemplate(fluent.getMachineType(),fluent.buildMachinesV1beta1MachineOpenshiftIo());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy