Class SqlRuleAction
java.lang.Object
com.azure.resourcemanager.servicebus.models.Action
com.azure.resourcemanager.servicebus.models.SqlRuleAction
Represents set of actions written in SQL language-based syntax that is performed against a
ServiceBus.Messaging.BrokeredMessage.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the instance.withCompatibilityLevel(Integer compatibilityLevel) Set the compatibilityLevel property: This property is reserved for future use.withRequiresPreprocessing(Boolean requiresPreprocessing) Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.withSqlExpression(String sqlExpression) Set the sqlExpression property: SQL expression.Methods inherited from class com.azure.resourcemanager.servicebus.models.Action
compatibilityLevel, requiresPreprocessing, sqlExpression
-
Constructor Details
-
SqlRuleAction
public SqlRuleAction()
-
-
Method Details
-
withSqlExpression
Set the sqlExpression property: SQL expression. e.g. MyProperty='ABC'.- Overrides:
withSqlExpressionin classAction- Parameters:
sqlExpression- the sqlExpression value to set.- Returns:
- the Action object itself.
-
withCompatibilityLevel
Set the compatibilityLevel property: This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.- Overrides:
withCompatibilityLevelin classAction- Parameters:
compatibilityLevel- the compatibilityLevel value to set.- Returns:
- the Action object itself.
-
withRequiresPreprocessing
Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.- Overrides:
withRequiresPreprocessingin classAction- Parameters:
requiresPreprocessing- the requiresPreprocessing value to set.- Returns:
- the Action object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classAction- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-