ServiceBusClientBuilder.ServiceBusRuleManagerBuilder Class
- java.
lang. Object - com.
azure. messaging. servicebus. ServiceBusClientBuilder. ServiceBusRuleManagerBuilder
- com.
public final class ServiceBusClientBuilder.ServiceBusRuleManagerBuilder
Builder for creating ServiceBusRuleManagerAsyncClient to manage Service Bus subscription rules.
Method Summary
Modifier and Type | Method and Description |
---|---|
Service |
buildAsyncClient()
Creates an asynchronous ServiceBusRuleManagerAsyncClient for managing rules of the specific subscription. |
Service |
buildClient()
Creates a synchronous ServiceBusRuleManagerClient for managing rules of the specific subscription. |
Service |
subscriptionName(String subscriptionName)
Sets the name of the subscription in the topic to manage its rules. |
Service |
topicName(String topicName)
Sets the name of the topic. |
Methods inherited from java.lang.Object
Method Details
buildAsyncClient
public ServiceBusRuleManagerAsyncClient buildAsyncClient()
Creates an asynchronous ServiceBusRuleManagerAsyncClient for managing rules of the specific subscription.
Returns:
buildClient
public ServiceBusRuleManagerClient buildClient()
Creates a synchronous ServiceBusRuleManagerClient for managing rules of the specific subscription.
Returns:
subscriptionName
public ServiceBusClientBuilder.ServiceBusRuleManagerBuilder subscriptionName(String subscriptionName)
Sets the name of the subscription in the topic to manage its rules. topicName(String topicName) must also be set.
Parameters:
Returns:
topicName
public ServiceBusClientBuilder.ServiceBusRuleManagerBuilder topicName(String topicName)
Sets the name of the topic. subscriptionName(String subscriptionName) must also be set.
Parameters:
Returns:
Applies to
Azure SDK for Java