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