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