me.snowdrop.istio.api.DoneableBoolValue Maven / Gradle / Ivy
package me.snowdrop.istio.api;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableBoolValue extends BoolValueFluentImpl implements Doneable{
private final BoolValueBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableBoolValue(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new BoolValueBuilder(this);this.function=function;
}
public DoneableBoolValue(BoolValue item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new BoolValueBuilder(this, item);this.function=function;
}
public DoneableBoolValue(BoolValue item){
super(item);this.builder=new BoolValueBuilder(this, item);this.function=new Function() {
public BoolValue apply(BoolValue item) {
return item;
}
}
;
}
public BoolValue done(){
return function.apply(builder.build());
}
}