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