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