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