ManagementClientAsync.updateRuleAsync(String topicName, String subscriptionName, RuleDescription ruleDescription) 方法
定义
Updates an existing rule.
public CompletableFuture<RuleDescription> updateRuleAsync(String topicName, String subscriptionName, RuleDescription ruleDescription)
参数
- topicName
- String
- Name of the topic.
- subscriptionName
- String
- Name of the subscription.
- ruleDescription
- RuleDescription
- A RuleDescription object describing the attributes with which the rule will be updated.
返回
例外
IllegalArgumentException
- descriptor is null.