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

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

There is a newer version: 6.13.4
Show newest version
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;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy