Class KafkaSourceSpecFluentImpl<A extends KafkaSourceSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.knative.eventing.contrib.kafka.v1beta1.KafkaSourceSpecFluentImpl<A>
-
- All Implemented Interfaces:
KafkaSourceSpecFluent<A>,io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>
- Direct Known Subclasses:
KafkaSourceFluentImpl.SpecNestedImpl,KafkaSourceSpecBuilder
public class KafkaSourceSpecFluentImpl<A extends KafkaSourceSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements KafkaSourceSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classKafkaSourceSpecFluentImpl.CeOverridesNestedImpl<N>classKafkaSourceSpecFluentImpl.NetNestedImpl<N>classKafkaSourceSpecFluentImpl.SinkNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.knative.eventing.contrib.kafka.v1beta1.KafkaSourceSpecFluent
KafkaSourceSpecFluent.CeOverridesNested<N>, KafkaSourceSpecFluent.NetNested<N>, KafkaSourceSpecFluent.SinkNested<N>
-
-
Constructor Summary
Constructors Constructor Description KafkaSourceSpecFluentImpl()KafkaSourceSpecFluentImpl(KafkaSourceSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
KafkaSourceSpecFluentImpl
public KafkaSourceSpecFluentImpl()
-
KafkaSourceSpecFluentImpl
public KafkaSourceSpecFluentImpl(KafkaSourceSpec instance)
-
-
Method Detail
-
addToBootstrapServers
public A addToBootstrapServers(int index, String item)
- Specified by:
addToBootstrapServersin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
setToBootstrapServers
public A setToBootstrapServers(int index, String item)
- Specified by:
setToBootstrapServersin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addToBootstrapServers
public A addToBootstrapServers(String... items)
- Specified by:
addToBootstrapServersin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addAllToBootstrapServers
public A addAllToBootstrapServers(Collection<String> items)
- Specified by:
addAllToBootstrapServersin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
removeFromBootstrapServers
public A removeFromBootstrapServers(String... items)
- Specified by:
removeFromBootstrapServersin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
removeAllFromBootstrapServers
public A removeAllFromBootstrapServers(Collection<String> items)
- Specified by:
removeAllFromBootstrapServersin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getBootstrapServers
public List<String> getBootstrapServers()
- Specified by:
getBootstrapServersin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getBootstrapServer
public String getBootstrapServer(int index)
- Specified by:
getBootstrapServerin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getFirstBootstrapServer
public String getFirstBootstrapServer()
- Specified by:
getFirstBootstrapServerin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getLastBootstrapServer
public String getLastBootstrapServer()
- Specified by:
getLastBootstrapServerin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getMatchingBootstrapServer
public String getMatchingBootstrapServer(Predicate<String> predicate)
- Specified by:
getMatchingBootstrapServerin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
hasMatchingBootstrapServer
public Boolean hasMatchingBootstrapServer(Predicate<String> predicate)
- Specified by:
hasMatchingBootstrapServerin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withBootstrapServers
public A withBootstrapServers(List<String> bootstrapServers)
- Specified by:
withBootstrapServersin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withBootstrapServers
public A withBootstrapServers(String... bootstrapServers)
- Specified by:
withBootstrapServersin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
hasBootstrapServers
public Boolean hasBootstrapServers()
- Specified by:
hasBootstrapServersin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addNewBootstrapServer
public A addNewBootstrapServer(String arg1)
- Specified by:
addNewBootstrapServerin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addNewBootstrapServer
public A addNewBootstrapServer(StringBuilder arg1)
- Specified by:
addNewBootstrapServerin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addNewBootstrapServer
public A addNewBootstrapServer(StringBuffer arg1)
- Specified by:
addNewBootstrapServerin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getCeOverrides
@Deprecated public CloudEventOverrides getCeOverrides()
Deprecated.This method has been deprecated, please use method buildCeOverrides instead.- Specified by:
getCeOverridesin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>- Returns:
- The buildable object.
-
buildCeOverrides
public CloudEventOverrides buildCeOverrides()
- Specified by:
buildCeOverridesin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withCeOverrides
public A withCeOverrides(CloudEventOverrides ceOverrides)
- Specified by:
withCeOverridesin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
hasCeOverrides
public Boolean hasCeOverrides()
- Specified by:
hasCeOverridesin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withNewCeOverrides
public KafkaSourceSpecFluent.CeOverridesNested<A> withNewCeOverrides()
- Specified by:
withNewCeOverridesin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withNewCeOverridesLike
public KafkaSourceSpecFluent.CeOverridesNested<A> withNewCeOverridesLike(CloudEventOverrides item)
- Specified by:
withNewCeOverridesLikein interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
editCeOverrides
public KafkaSourceSpecFluent.CeOverridesNested<A> editCeOverrides()
- Specified by:
editCeOverridesin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
editOrNewCeOverrides
public KafkaSourceSpecFluent.CeOverridesNested<A> editOrNewCeOverrides()
- Specified by:
editOrNewCeOverridesin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
editOrNewCeOverridesLike
public KafkaSourceSpecFluent.CeOverridesNested<A> editOrNewCeOverridesLike(CloudEventOverrides item)
- Specified by:
editOrNewCeOverridesLikein interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getConsumerGroup
public String getConsumerGroup()
- Specified by:
getConsumerGroupin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withConsumerGroup
public A withConsumerGroup(String consumerGroup)
- Specified by:
withConsumerGroupin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
hasConsumerGroup
public Boolean hasConsumerGroup()
- Specified by:
hasConsumerGroupin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withNewConsumerGroup
public A withNewConsumerGroup(String arg1)
- Specified by:
withNewConsumerGroupin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withNewConsumerGroup
public A withNewConsumerGroup(StringBuilder arg1)
- Specified by:
withNewConsumerGroupin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withNewConsumerGroup
public A withNewConsumerGroup(StringBuffer arg1)
- Specified by:
withNewConsumerGroupin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getNet
@Deprecated public KafkaNetSpec getNet()
Deprecated.This method has been deprecated, please use method buildNet instead.- Specified by:
getNetin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>- Returns:
- The buildable object.
-
buildNet
public KafkaNetSpec buildNet()
- Specified by:
buildNetin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withNet
public A withNet(KafkaNetSpec net)
- Specified by:
withNetin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
hasNet
public Boolean hasNet()
- Specified by:
hasNetin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withNewNet
public KafkaSourceSpecFluent.NetNested<A> withNewNet()
- Specified by:
withNewNetin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withNewNetLike
public KafkaSourceSpecFluent.NetNested<A> withNewNetLike(KafkaNetSpec item)
- Specified by:
withNewNetLikein interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
editNet
public KafkaSourceSpecFluent.NetNested<A> editNet()
- Specified by:
editNetin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
editOrNewNet
public KafkaSourceSpecFluent.NetNested<A> editOrNewNet()
- Specified by:
editOrNewNetin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
editOrNewNetLike
public KafkaSourceSpecFluent.NetNested<A> editOrNewNetLike(KafkaNetSpec item)
- Specified by:
editOrNewNetLikein interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getSink
@Deprecated public Destination getSink()
Deprecated.This method has been deprecated, please use method buildSink instead.- Specified by:
getSinkin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>- Returns:
- The buildable object.
-
buildSink
public Destination buildSink()
- Specified by:
buildSinkin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withSink
public A withSink(Destination sink)
- Specified by:
withSinkin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
hasSink
public Boolean hasSink()
- Specified by:
hasSinkin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withNewSink
public KafkaSourceSpecFluent.SinkNested<A> withNewSink()
- Specified by:
withNewSinkin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withNewSinkLike
public KafkaSourceSpecFluent.SinkNested<A> withNewSinkLike(Destination item)
- Specified by:
withNewSinkLikein interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
editSink
public KafkaSourceSpecFluent.SinkNested<A> editSink()
- Specified by:
editSinkin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
editOrNewSink
public KafkaSourceSpecFluent.SinkNested<A> editOrNewSink()
- Specified by:
editOrNewSinkin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
editOrNewSinkLike
public KafkaSourceSpecFluent.SinkNested<A> editOrNewSinkLike(Destination item)
- Specified by:
editOrNewSinkLikein interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addToTopics
public A addToTopics(int index, String item)
- Specified by:
addToTopicsin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
setToTopics
public A setToTopics(int index, String item)
- Specified by:
setToTopicsin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addToTopics
public A addToTopics(String... items)
- Specified by:
addToTopicsin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addAllToTopics
public A addAllToTopics(Collection<String> items)
- Specified by:
addAllToTopicsin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
removeFromTopics
public A removeFromTopics(String... items)
- Specified by:
removeFromTopicsin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
removeAllFromTopics
public A removeAllFromTopics(Collection<String> items)
- Specified by:
removeAllFromTopicsin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getTopics
public List<String> getTopics()
- Specified by:
getTopicsin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getTopic
public String getTopic(int index)
- Specified by:
getTopicin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getFirstTopic
public String getFirstTopic()
- Specified by:
getFirstTopicin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getLastTopic
public String getLastTopic()
- Specified by:
getLastTopicin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
getMatchingTopic
public String getMatchingTopic(Predicate<String> predicate)
- Specified by:
getMatchingTopicin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
hasMatchingTopic
public Boolean hasMatchingTopic(Predicate<String> predicate)
- Specified by:
hasMatchingTopicin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withTopics
public A withTopics(List<String> topics)
- Specified by:
withTopicsin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
withTopics
public A withTopics(String... topics)
- Specified by:
withTopicsin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
hasTopics
public Boolean hasTopics()
- Specified by:
hasTopicsin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addNewTopic
public A addNewTopic(String arg1)
- Specified by:
addNewTopicin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addNewTopic
public A addNewTopic(StringBuilder arg1)
- Specified by:
addNewTopicin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
addNewTopic
public A addNewTopic(StringBuffer arg1)
- Specified by:
addNewTopicin interfaceKafkaSourceSpecFluent<A extends KafkaSourceSpecFluent<A>>
-
-