io.strimzi.api.kafka.model.DoneableKafkaBridge Maven / Gradle / Ivy
package io.strimzi.api.kafka.model;
import io.fabric8.kubernetes.api.builder.Function;
import io.fabric8.kubernetes.api.model.Doneable;
public class DoneableKafkaBridge extends KafkaBridgeFluentImpl implements Doneable{
private final KafkaBridgeBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableKafkaBridge(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new KafkaBridgeBuilder(this);this.function=function;
}
public DoneableKafkaBridge(KafkaBridge item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new KafkaBridgeBuilder(this, item);this.function=function;
}
public DoneableKafkaBridge(KafkaBridge item){
super(item);this.builder=new KafkaBridgeBuilder(this, item);this.function=new Function() {
public KafkaBridge apply(KafkaBridge item) {
return item;
}
}
;
}
public KafkaBridge done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy