Class Action
java.lang.Object
com.azure.resourcemanager.servicebus.models.Action
- Direct Known Subclasses:
SqlRuleAction
Represents the filter actions which are allowed for the transformation of a message that have been matched by a
filter expression.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the compatibilityLevel property: This property is reserved for future use.Get the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.Get the sqlExpression property: SQL expression.voidvalidate()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.
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
sqlExpression
Get the sqlExpression property: SQL expression. e.g. MyProperty='ABC'.- Returns:
- the sqlExpression value.
-
withSqlExpression
Set the sqlExpression property: SQL expression. e.g. MyProperty='ABC'.- Parameters:
sqlExpression- the sqlExpression value to set.- Returns:
- the Action object itself.
-
compatibilityLevel
Get the compatibilityLevel property: This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.- Returns:
- the compatibilityLevel value.
-
withCompatibilityLevel
Set the compatibilityLevel property: This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.- Parameters:
compatibilityLevel- the compatibilityLevel value to set.- Returns:
- the Action object itself.
-
requiresPreprocessing
Get the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.- Returns:
- the requiresPreprocessing value.
-
withRequiresPreprocessing
Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.- Parameters:
requiresPreprocessing- the requiresPreprocessing value to set.- Returns:
- the Action object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-