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

annotations.io.fabric8.knative.eventing.contrib.kafka.v1beta1.KafkaSourceSpecFluent Maven / Gradle / Ivy

package io.fabric8.knative.eventing.contrib.kafka.v1beta1;

import io.fabric8.knative.internal.pkg.apis.duck.v1.Destination;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.lang.StringBuilder;
import io.fabric8.kubernetes.api.builder.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.function.Predicate;
import io.fabric8.knative.internal.pkg.apis.duck.v1.DestinationFluent;
import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverrides;
import java.lang.Deprecated;
import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverridesFluent;
import java.util.List;
import io.fabric8.knative.internal.pkg.apis.duck.v1.CloudEventOverridesBuilder;
import java.lang.Boolean;
import io.fabric8.kubernetes.api.builder.Fluent;
import java.lang.StringBuffer;
import io.fabric8.knative.internal.pkg.apis.duck.v1.DestinationBuilder;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;

public interface KafkaSourceSpecFluent> extends Fluent {


    public A addToBootstrapServers(int index,String item);
    public A setToBootstrapServers(int index,String item);
    public A addToBootstrapServers(String... items);
    public A addAllToBootstrapServers(Collection items);
    public A removeFromBootstrapServers(String... items);
    public A removeAllFromBootstrapServers(Collection items);
    public List getBootstrapServers();
    public String getBootstrapServer(int index);
    public String getFirstBootstrapServer();
    public String getLastBootstrapServer();
    public String getMatchingBootstrapServer(Predicate predicate);
    public Boolean hasMatchingBootstrapServer(Predicate predicate);
    public A withBootstrapServers(List bootstrapServers);
    public A withBootstrapServers(String... bootstrapServers);
    public Boolean hasBootstrapServers();
    public A addNewBootstrapServer(String arg1);
    public A addNewBootstrapServer(StringBuilder arg1);
    public A addNewBootstrapServer(StringBuffer arg1);
    
/**
 * This method has been deprecated, please use method buildCeOverrides instead.
 * @return The buildable object.
 */
@Deprecated public CloudEventOverrides getCeOverrides();
    public CloudEventOverrides buildCeOverrides();
    public A withCeOverrides(CloudEventOverrides ceOverrides);
    public Boolean hasCeOverrides();
    public KafkaSourceSpecFluent.CeOverridesNested withNewCeOverrides();
    public KafkaSourceSpecFluent.CeOverridesNested withNewCeOverridesLike(CloudEventOverrides item);
    public KafkaSourceSpecFluent.CeOverridesNested editCeOverrides();
    public KafkaSourceSpecFluent.CeOverridesNested editOrNewCeOverrides();
    public KafkaSourceSpecFluent.CeOverridesNested editOrNewCeOverridesLike(CloudEventOverrides item);
    public String getConsumerGroup();
    public A withConsumerGroup(String consumerGroup);
    public Boolean hasConsumerGroup();
    public A withNewConsumerGroup(String arg1);
    public A withNewConsumerGroup(StringBuilder arg1);
    public A withNewConsumerGroup(StringBuffer arg1);
    
/**
 * This method has been deprecated, please use method buildNet instead.
 * @return The buildable object.
 */
@Deprecated public KafkaNetSpec getNet();
    public KafkaNetSpec buildNet();
    public A withNet(KafkaNetSpec net);
    public Boolean hasNet();
    public KafkaSourceSpecFluent.NetNested withNewNet();
    public KafkaSourceSpecFluent.NetNested withNewNetLike(KafkaNetSpec item);
    public KafkaSourceSpecFluent.NetNested editNet();
    public KafkaSourceSpecFluent.NetNested editOrNewNet();
    public KafkaSourceSpecFluent.NetNested editOrNewNetLike(KafkaNetSpec item);
    
/**
 * This method has been deprecated, please use method buildSink instead.
 * @return The buildable object.
 */
@Deprecated public Destination getSink();
    public Destination buildSink();
    public A withSink(Destination sink);
    public Boolean hasSink();
    public KafkaSourceSpecFluent.SinkNested withNewSink();
    public KafkaSourceSpecFluent.SinkNested withNewSinkLike(Destination item);
    public KafkaSourceSpecFluent.SinkNested editSink();
    public KafkaSourceSpecFluent.SinkNested editOrNewSink();
    public KafkaSourceSpecFluent.SinkNested editOrNewSinkLike(Destination item);
    public A addToTopics(int index,String item);
    public A setToTopics(int index,String item);
    public A addToTopics(String... items);
    public A addAllToTopics(Collection items);
    public A removeFromTopics(String... items);
    public A removeAllFromTopics(Collection items);
    public List getTopics();
    public String getTopic(int index);
    public String getFirstTopic();
    public String getLastTopic();
    public String getMatchingTopic(Predicate predicate);
    public Boolean hasMatchingTopic(Predicate predicate);
    public A withTopics(List topics);
    public A withTopics(String... topics);
    public Boolean hasTopics();
    public A addNewTopic(String arg1);
    public A addNewTopic(StringBuilder arg1);
    public A addNewTopic(StringBuffer arg1);
    public interface CeOverridesNested extends io.fabric8.kubernetes.api.builder.Nested,CloudEventOverridesFluent> {

        public N and();
        public N endCeOverrides();    }


    public interface NetNested extends io.fabric8.kubernetes.api.builder.Nested,KafkaNetSpecFluent> {

        public N and();
        public N endNet();    }


    public interface SinkNested extends io.fabric8.kubernetes.api.builder.Nested,DestinationFluent> {

        public N and();
        public N endSink();    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy