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