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