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

io.fabric8.kubernetes.api.model.storage.CSINodeSpecBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.kubernetes.api.model.storage;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class CSINodeSpecBuilder extends CSINodeSpecFluent implements VisitableBuilder{
  public CSINodeSpecBuilder() {
    this(new CSINodeSpec());
  }
  
  public CSINodeSpecBuilder(CSINodeSpecFluent fluent) {
    this(fluent, new CSINodeSpec());
  }
  
  public CSINodeSpecBuilder(CSINodeSpecFluent fluent,CSINodeSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public CSINodeSpecBuilder(CSINodeSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  CSINodeSpecFluent fluent;
  
  public CSINodeSpec build() {
    CSINodeSpec buildable = new CSINodeSpec(fluent.buildDrivers());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy