All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.snowdrop.istio.mixer.adapter.stackdriver.DoneableStackdriverList Maven / Gradle / Ivy

package me.snowdrop.istio.mixer.adapter.stackdriver;

import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;

public class DoneableStackdriverList extends StackdriverListFluentImpl implements Doneable{

    private final StackdriverListBuilder builder;
    private final Function function;

    public DoneableStackdriverList(Function function){
            super();this.builder=new StackdriverListBuilder(this);this.function=function;
    }
    public DoneableStackdriverList(StackdriverList item,Function function){
            super(item);this.builder=new StackdriverListBuilder(this, item);this.function=function;
    }
    public DoneableStackdriverList(StackdriverList item){
            super(item);this.builder=new StackdriverListBuilder(this, item);this.function=new Function() {
    public StackdriverList apply(StackdriverList item) {
        return item;
    }
}
;
    }

    public StackdriverList done(){
             return function.apply(builder.build());
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy