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