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

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 io.fabric8.kubernetes.api.builder.Fluent;
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 java.lang.Integer;
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.Collection;
import java.util.List;
import java.lang.Boolean;

 /**
  * Generated
  */
public interface KafkaSourceSpecFluent> extends Fluent{
  public A addToBootstrapServers(Integer index,String item);
  public A setToBootstrapServers(Integer index,String item);
  public A addToBootstrapServers(java.lang.String... items);
  public A addAllToBootstrapServers(Collection items);
  public A removeFromBootstrapServers(java.lang.String... items);
  public A removeAllFromBootstrapServers(Collection items);
  public List getBootstrapServers();
  public String getBootstrapServer(Integer 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(java.lang.String... bootstrapServers);
  public Boolean hasBootstrapServers();
  
  /**
   * 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 Integer getConsumers();
  public A withConsumers(Integer consumers);
  public Boolean hasConsumers();
  public String getInitialOffset();
  public A withInitialOffset(String initialOffset);
  public Boolean hasInitialOffset();
  
  /**
   * 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(Integer index,String item);
  public A setToTopics(Integer index,String item);
  public A addToTopics(java.lang.String... items);
  public A addAllToTopics(Collection items);
  public A removeFromTopics(java.lang.String... items);
  public A removeAllFromTopics(Collection items);
  public List getTopics();
  public String getTopic(Integer 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(java.lang.String... topics);
  public Boolean hasTopics();
  public interface CeOverridesNested extends Nested,CloudEventOverridesFluent>{
    public N and();
    public N endCeOverrides();
    
  }
  public interface NetNested extends Nested,KafkaNetSpecFluent>{
    public N and();
    public N endNet();
    
  }
  public interface SinkNested extends Nested,DestinationFluent>{
    public N and();
    public N endSink();
    
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy