io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.FirmwareBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class FirmwareBuilder extends FirmwareFluent implements VisitableBuilder{
public FirmwareBuilder() {
this(new Firmware());
}
public FirmwareBuilder(FirmwareFluent> fluent) {
this(fluent, new Firmware());
}
public FirmwareBuilder(FirmwareFluent> fluent,Firmware instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public FirmwareBuilder(Firmware instance) {
this.fluent = this;
this.copyInstance(instance);
}
FirmwareFluent> fluent;
public Firmware build() {
Firmware buildable = new Firmware(fluent.buildBios());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}