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