RuleProperties Class
- java.
lang. Object - com.
azure. messaging. servicebus. administration. models. RuleProperties
- com.
public class RuleProperties
Properties on a rule.
Method Summary
Modifier and Type | Method and Description |
---|---|
Rule |
getAction()
Gets the action to perform if the message satisfies the filtering expression. |
Rule |
getFilter()
Gets the filter expression used to match messages. |
String |
getName()
Gets the name of the rule. |
Rule |
setAction(RuleAction action)
Sets the action to perform if the message satisfies the filtering expression. |
Rule |
setFilter(RuleFilter filter)
Sets the filter expression used to match messages. |
Methods inherited from java.lang.Object
Method Details
getAction
public RuleAction getAction()
Gets the action to perform if the message satisfies the filtering expression.
Returns:
getFilter
public RuleFilter getFilter()
Gets the filter expression used to match messages.
Returns:
getName
public String getName()
Gets the name of the rule.
Returns:
setAction
public RuleProperties setAction(RuleAction action)
Sets the action to perform if the message satisfies the filtering expression.
Parameters:
Returns:
setFilter
public RuleProperties setFilter(RuleFilter filter)
Sets the filter expression used to match messages.
Parameters:
Returns:
Applies to
Azure SDK for Java