me.snowdrop.istio.mixer.adapter.redisquota.DoneableRedisquotaList Maven / Gradle / Ivy
package me.snowdrop.istio.mixer.adapter.redisquota;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableRedisquotaList extends RedisquotaListFluentImpl implements Doneable{
private final RedisquotaListBuilder builder;
private final Function function;
public DoneableRedisquotaList(Function function){
super();this.builder=new RedisquotaListBuilder(this);this.function=function;
}
public DoneableRedisquotaList(RedisquotaList item,Function function){
super(item);this.builder=new RedisquotaListBuilder(this, item);this.function=function;
}
public DoneableRedisquotaList(RedisquotaList item){
super(item);this.builder=new RedisquotaListBuilder(this, item);this.function=new Function() {
public RedisquotaList apply(RedisquotaList item) {
return item;
}
}
;
}
public RedisquotaList done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy