annotations.io.alauda.devops.api.model.DoneableImageStreamList 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 DoneableImageStreamList extends ImageStreamListFluentImpl implements Doneable{
private final ImageStreamListBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableImageStreamList(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new ImageStreamListBuilder(this);this.function=function;
}
public DoneableImageStreamList(ImageStreamList item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new ImageStreamListBuilder(this, item);this.function=function;
}
public DoneableImageStreamList(ImageStreamList item){
super(item);this.builder=new ImageStreamListBuilder(this, item);this.function=new Function() {
public ImageStreamList apply(ImageStreamList item) {
return item;
}
}
;
}
public ImageStreamList done(){
return function.apply(builder.build());
}
}