io.fabric8.kubernetes.api.model.DoneableCSIVolumeSource Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import io.fabric8.kubernetes.api.builder.Function;
public class DoneableCSIVolumeSource extends CSIVolumeSourceFluentImpl implements Doneable{
private final CSIVolumeSourceBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableCSIVolumeSource(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new CSIVolumeSourceBuilder(this);this.function=function;
}
public DoneableCSIVolumeSource(CSIVolumeSource item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new CSIVolumeSourceBuilder(this, item);this.function=function;
}
public DoneableCSIVolumeSource(CSIVolumeSource item){
super(item);this.builder=new CSIVolumeSourceBuilder(this, item);this.function=new Function() {
public CSIVolumeSource apply(CSIVolumeSource item) {
return item;
}
}
;
}
public CSIVolumeSource done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy