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