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

io.strimzi.api.kafka.model.DoneableKafkaConnect Maven / Gradle / Ivy

There is a newer version: 0.45.0
Show newest version
package io.strimzi.api.kafka.model;

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

public class DoneableKafkaConnect extends KafkaConnectFluentImpl implements Doneable{

    private final KafkaConnectBuilder builder;
    private final io.fabric8.kubernetes.api.builder.Function function;

    public DoneableKafkaConnect(io.fabric8.kubernetes.api.builder.Function function){
            super();this.builder=new KafkaConnectBuilder(this);this.function=function;
    }
    public DoneableKafkaConnect(KafkaConnect item,io.fabric8.kubernetes.api.builder.Function function){
            super(item);this.builder=new KafkaConnectBuilder(this, item);this.function=function;
    }
    public DoneableKafkaConnect(KafkaConnect item){
            super(item);this.builder=new KafkaConnectBuilder(this, item);this.function=new Function() {
    public KafkaConnect apply(KafkaConnect item) {
        return item;
    }
}
;
    }

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




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy