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