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

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

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

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class CSIDriverBuilder extends CSIDriverFluent implements VisitableBuilder{
  public CSIDriverBuilder() {
    this(new CSIDriver());
  }
  
  public CSIDriverBuilder(CSIDriverFluent fluent) {
    this(fluent, new CSIDriver());
  }
  
  public CSIDriverBuilder(CSIDriverFluent fluent,CSIDriver instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public CSIDriverBuilder(CSIDriver instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  CSIDriverFluent fluent;
  
  public CSIDriver build() {
    CSIDriver buildable = new CSIDriver(fluent.getApiVersion(),fluent.getKind(),fluent.buildMetadata(),fluent.buildSpec());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy