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