T - The concrete type returned by fluent methods.B - The concrete type of the built object.public abstract static class AbstractSubscriberAdmin.Builder<T extends AbstractSubscriberAdmin.Builder<T,B>,B extends AbstractSubscriberAdmin<B>> extends AbstractSubscriberBase.Builder<Void,T,B> implements ISubscriberAdminBuilder<T,B>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
T |
withSubscription(String subscriptionId,
Collection<TopicName> topicNames)
Subscribe to the given subscription on the given topics.
|
T |
withSubscription(String subscriptionId,
String[] topicNames)
Subscribe to the given subscription on the given topics.
|
T |
withSubscription(String subscriptionId,
String topicId,
String... additionalTopicIds)
Subscribe to the given subscription on the given topics.
|
T |
withSubscription(Subscription subscription) |
validate, withNameFactory, withSubscription, withSubscription, withSubscription, withSubscriptionpublic T withSubscription(Subscription subscription)
withSubscription in interface ISubscriberAdminBuilder<T extends AbstractSubscriberAdmin.Builder<T,B>,B extends AbstractSubscriberAdmin<B>>public T withSubscription(String subscriptionId, String topicId, String... additionalTopicIds)
ISubscriberAdminBuilderwithSubscription in interface ISubscriberAdminBuilder<T extends AbstractSubscriberAdmin.Builder<T,B>,B extends AbstractSubscriberAdmin<B>>subscriptionId - A subscription name.topicId - A topic name.additionalTopicIds - An optional list of additional topic names.public T withSubscription(String subscriptionId, Collection<TopicName> topicNames)
ISubscriberAdminBuilderwithSubscription in interface ISubscriberAdminBuilder<T extends AbstractSubscriberAdmin.Builder<T,B>,B extends AbstractSubscriberAdmin<B>>subscriptionId - A subscription name.topicNames - A list of topic names.public T withSubscription(String subscriptionId, String[] topicNames)
ISubscriberAdminBuilderwithSubscription in interface ISubscriberAdminBuilder<T extends AbstractSubscriberAdmin.Builder<T,B>,B extends AbstractSubscriberAdmin<B>>subscriptionId - A subscription name.topicNames - A list of topic names.Copyright © 2018 Symphony Software Foundation. All rights reserved.