All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.FirmwareConfigBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class FirmwareConfigBuilder extends FirmwareConfigFluent implements VisitableBuilder{
  public FirmwareConfigBuilder() {
    this(new FirmwareConfig());
  }
  
  public FirmwareConfigBuilder(FirmwareConfigFluent fluent) {
    this(fluent, new FirmwareConfig());
  }
  
  public FirmwareConfigBuilder(FirmwareConfigFluent fluent,FirmwareConfig instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public FirmwareConfigBuilder(FirmwareConfig instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  FirmwareConfigFluent fluent;
  
  public FirmwareConfig build() {
    FirmwareConfig buildable = new FirmwareConfig(fluent.getSimultaneousMultithreadingEnabled(),fluent.getSriovEnabled(),fluent.getVirtualizationEnabled());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy