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