me.snowdrop.istio.api.model.v1.routing.DoneableDestinationWeight Maven / Gradle / Ivy
package me.snowdrop.istio.api.model.v1.routing;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableDestinationWeight extends me.snowdrop.istio.api.model.v1.routing.DestinationWeightFluentImpl implements Doneable{
private final me.snowdrop.istio.api.model.v1.routing.DestinationWeightBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableDestinationWeight(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new DestinationWeightBuilder(this);this.function=function;
}
public DoneableDestinationWeight(me.snowdrop.istio.api.model.v1.routing.DestinationWeight item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new DestinationWeightBuilder(this, item);this.function=function;
}
public DoneableDestinationWeight(me.snowdrop.istio.api.model.v1.routing.DestinationWeight item){
super(item);this.builder=new DestinationWeightBuilder(this, item);this.function=new Function() {
public me.snowdrop.istio.api.model.v1.routing.DestinationWeight apply(me.snowdrop.istio.api.model.v1.routing.DestinationWeight item) {
return item;
}
}
;
}
public me.snowdrop.istio.api.model.v1.routing.DestinationWeight done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy