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

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

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

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class CSINodeDriverBuilder extends CSINodeDriverFluent implements VisitableBuilder{
  public CSINodeDriverBuilder() {
    this(new CSINodeDriver());
  }
  
  public CSINodeDriverBuilder(CSINodeDriverFluent fluent) {
    this(fluent, new CSINodeDriver());
  }
  
  public CSINodeDriverBuilder(CSINodeDriverFluent fluent,CSINodeDriver instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public CSINodeDriverBuilder(CSINodeDriver instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  CSINodeDriverFluent fluent;
  
  public CSINodeDriver build() {
    CSINodeDriver buildable = new CSINodeDriver(fluent.buildAllocatable(),fluent.getName(),fluent.getNodeID(),fluent.getTopologyKeys());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy