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