io.alauda.kubernetes.api.model.DoneableLimitRange Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import io.alauda.kubernetes.api.builder.Function;
public class DoneableLimitRange extends LimitRangeFluentImpl implements Doneable{
private final LimitRangeBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableLimitRange(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new LimitRangeBuilder(this);this.function=function;
}
public DoneableLimitRange(LimitRange item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new LimitRangeBuilder(this, item);this.function=function;
}
public DoneableLimitRange(LimitRange item){
super(item);this.builder=new LimitRangeBuilder(this, item);this.function=new Function() {
public LimitRange apply(LimitRange item) {
return item;
}
}
;
}
public LimitRange done(){
return function.apply(builder.build());
}
}