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