Package io.fabric8.knative.messaging.v1
Class InMemoryChannelSpecFluentImpl<A extends InMemoryChannelSpecFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.knative.messaging.v1.InMemoryChannelSpecFluentImpl<A>
-
- All Implemented Interfaces:
InMemoryChannelSpecFluent<A>,io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>
- Direct Known Subclasses:
InMemoryChannelFluentImpl.SpecNestedImpl,InMemoryChannelSpecBuilder
public class InMemoryChannelSpecFluentImpl<A extends InMemoryChannelSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements InMemoryChannelSpecFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classInMemoryChannelSpecFluentImpl.DeliveryNestedImpl<N>classInMemoryChannelSpecFluentImpl.SubscribersNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.knative.messaging.v1.InMemoryChannelSpecFluent
InMemoryChannelSpecFluent.DeliveryNested<N>, InMemoryChannelSpecFluent.SubscribersNested<N>
-
-
Constructor Summary
Constructors Constructor Description InMemoryChannelSpecFluentImpl()InMemoryChannelSpecFluentImpl(InMemoryChannelSpec instance)
-
Method Summary
-
-
-
Constructor Detail
-
InMemoryChannelSpecFluentImpl
public InMemoryChannelSpecFluentImpl()
-
InMemoryChannelSpecFluentImpl
public InMemoryChannelSpecFluentImpl(InMemoryChannelSpec instance)
-
-
Method Detail
-
getDelivery
@Deprecated public DeliverySpec getDelivery()
Deprecated.This method has been deprecated, please use method buildDelivery instead.- Specified by:
getDeliveryin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>- Returns:
- The buildable object.
-
buildDelivery
public DeliverySpec buildDelivery()
- Specified by:
buildDeliveryin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
withDelivery
public A withDelivery(DeliverySpec delivery)
- Specified by:
withDeliveryin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
hasDelivery
public Boolean hasDelivery()
- Specified by:
hasDeliveryin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
withNewDelivery
public InMemoryChannelSpecFluent.DeliveryNested<A> withNewDelivery()
- Specified by:
withNewDeliveryin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
withNewDeliveryLike
public InMemoryChannelSpecFluent.DeliveryNested<A> withNewDeliveryLike(DeliverySpec item)
- Specified by:
withNewDeliveryLikein interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
editDelivery
public InMemoryChannelSpecFluent.DeliveryNested<A> editDelivery()
- Specified by:
editDeliveryin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
editOrNewDelivery
public InMemoryChannelSpecFluent.DeliveryNested<A> editOrNewDelivery()
- Specified by:
editOrNewDeliveryin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
editOrNewDeliveryLike
public InMemoryChannelSpecFluent.DeliveryNested<A> editOrNewDeliveryLike(DeliverySpec item)
- Specified by:
editOrNewDeliveryLikein interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
addToSubscribers
public A addToSubscribers(int index, SubscriberSpec item)
- Specified by:
addToSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
setToSubscribers
public A setToSubscribers(int index, SubscriberSpec item)
- Specified by:
setToSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
addToSubscribers
public A addToSubscribers(SubscriberSpec... items)
- Specified by:
addToSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
addAllToSubscribers
public A addAllToSubscribers(Collection<SubscriberSpec> items)
- Specified by:
addAllToSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
removeFromSubscribers
public A removeFromSubscribers(SubscriberSpec... items)
- Specified by:
removeFromSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
removeAllFromSubscribers
public A removeAllFromSubscribers(Collection<SubscriberSpec> items)
- Specified by:
removeAllFromSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
removeMatchingFromSubscribers
public A removeMatchingFromSubscribers(Predicate<SubscriberSpecBuilder> predicate)
- Specified by:
removeMatchingFromSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
getSubscribers
@Deprecated public List<SubscriberSpec> getSubscribers()
Deprecated.This method has been deprecated, please use method buildSubscribers instead.- Specified by:
getSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>- Returns:
- The buildable object.
-
buildSubscribers
public List<SubscriberSpec> buildSubscribers()
- Specified by:
buildSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
buildSubscriber
public SubscriberSpec buildSubscriber(int index)
- Specified by:
buildSubscriberin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
buildFirstSubscriber
public SubscriberSpec buildFirstSubscriber()
- Specified by:
buildFirstSubscriberin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
buildLastSubscriber
public SubscriberSpec buildLastSubscriber()
- Specified by:
buildLastSubscriberin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
buildMatchingSubscriber
public SubscriberSpec buildMatchingSubscriber(Predicate<SubscriberSpecBuilder> predicate)
- Specified by:
buildMatchingSubscriberin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
hasMatchingSubscriber
public Boolean hasMatchingSubscriber(Predicate<SubscriberSpecBuilder> predicate)
- Specified by:
hasMatchingSubscriberin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
withSubscribers
public A withSubscribers(List<SubscriberSpec> subscribers)
- Specified by:
withSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
withSubscribers
public A withSubscribers(SubscriberSpec... subscribers)
- Specified by:
withSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
hasSubscribers
public Boolean hasSubscribers()
- Specified by:
hasSubscribersin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
addNewSubscriber
public InMemoryChannelSpecFluent.SubscribersNested<A> addNewSubscriber()
- Specified by:
addNewSubscriberin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
addNewSubscriberLike
public InMemoryChannelSpecFluent.SubscribersNested<A> addNewSubscriberLike(SubscriberSpec item)
- Specified by:
addNewSubscriberLikein interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
setNewSubscriberLike
public InMemoryChannelSpecFluent.SubscribersNested<A> setNewSubscriberLike(int index, SubscriberSpec item)
- Specified by:
setNewSubscriberLikein interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
editSubscriber
public InMemoryChannelSpecFluent.SubscribersNested<A> editSubscriber(int index)
- Specified by:
editSubscriberin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
editFirstSubscriber
public InMemoryChannelSpecFluent.SubscribersNested<A> editFirstSubscriber()
- Specified by:
editFirstSubscriberin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
editLastSubscriber
public InMemoryChannelSpecFluent.SubscribersNested<A> editLastSubscriber()
- Specified by:
editLastSubscriberin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
editMatchingSubscriber
public InMemoryChannelSpecFluent.SubscribersNested<A> editMatchingSubscriber(Predicate<SubscriberSpecBuilder> predicate)
- Specified by:
editMatchingSubscriberin interfaceInMemoryChannelSpecFluent<A extends InMemoryChannelSpecFluent<A>>
-
-