io.alauda.kubernetes.api.model.DoneableCephFSVolumeSource Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import io.alauda.kubernetes.api.builder.Function;
public class DoneableCephFSVolumeSource extends CephFSVolumeSourceFluentImpl implements Doneable{
private final CephFSVolumeSourceBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableCephFSVolumeSource(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new CephFSVolumeSourceBuilder(this);this.function=function;
}
public DoneableCephFSVolumeSource(CephFSVolumeSource item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new CephFSVolumeSourceBuilder(this, item);this.function=function;
}
public DoneableCephFSVolumeSource(CephFSVolumeSource item){
super(item);this.builder=new CephFSVolumeSourceBuilder(this, item);this.function=new Function() {
public CephFSVolumeSource apply(CephFSVolumeSource item) {
return item;
}
}
;
}
public CephFSVolumeSource done(){
return function.apply(builder.build());
}
}