io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.RootDeviceHintsBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class RootDeviceHintsBuilder extends RootDeviceHintsFluent implements VisitableBuilder{
public RootDeviceHintsBuilder() {
this(new RootDeviceHints());
}
public RootDeviceHintsBuilder(RootDeviceHintsFluent> fluent) {
this(fluent, new RootDeviceHints());
}
public RootDeviceHintsBuilder(RootDeviceHintsFluent> fluent,RootDeviceHints instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public RootDeviceHintsBuilder(RootDeviceHints instance) {
this.fluent = this;
this.copyInstance(instance);
}
RootDeviceHintsFluent> fluent;
public RootDeviceHints build() {
RootDeviceHints buildable = new RootDeviceHints(fluent.getDeviceName(),fluent.getHctl(),fluent.getMinSizeGigabytes(),fluent.getModel(),fluent.getRotational(),fluent.getSerialNumber(),fluent.getVendor(),fluent.getWwn(),fluent.getWwnVendorExtension(),fluent.getWwnWithExtension());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}