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