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