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