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