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

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

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

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class CSIDriverSpecBuilder extends CSIDriverSpecFluent implements VisitableBuilder{
  public CSIDriverSpecBuilder() {
    this(new CSIDriverSpec());
  }
  
  public CSIDriverSpecBuilder(CSIDriverSpecFluent fluent) {
    this(fluent, new CSIDriverSpec());
  }
  
  public CSIDriverSpecBuilder(CSIDriverSpecFluent fluent,CSIDriverSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public CSIDriverSpecBuilder(CSIDriverSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  CSIDriverSpecFluent fluent;
  
  public CSIDriverSpec build() {
    CSIDriverSpec buildable = new CSIDriverSpec(fluent.getAttachRequired(),fluent.getFsGroupPolicy(),fluent.getPodInfoOnMount(),fluent.getRequiresRepublish(),fluent.getSeLinuxMount(),fluent.getStorageCapacity(),fluent.buildTokenRequests(),fluent.getVolumeLifecycleModes());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy