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