Action Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. models. Action
- com.
Implements
public class Action
implements JsonSerializable<Action>
Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression.
Constructor Summary
Constructor | Description |
---|---|
Action() |
Creates an instance of Action class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
compatibilityLevel()
Get the compatibility |
static Action |
fromJson(JsonReader jsonReader)
Reads an instance of Action from the Json |
Boolean |
requiresPreprocessing()
Get the requires |
String |
sqlExpression()
Get the sql |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Action |
withCompatibilityLevel(Integer compatibilityLevel)
Set the compatibility |
Action |
withRequiresPreprocessing(Boolean requiresPreprocessing)
Set the requires |
Action |
withSqlExpression(String sqlExpression)
Set the sql |
Methods inherited from java.lang.Object
Constructor Details
Action
public Action()
Creates an instance of Action class.
Method Details
compatibilityLevel
public Integer 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:
fromJson
public static Action fromJson(JsonReader jsonReader)
Reads an instance of Action from the JsonReader.
Parameters:
Returns:
Throws:
requiresPreprocessing
public Boolean requiresPreprocessing()
Get the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.
Returns:
sqlExpression
public String sqlExpression()
Get the sqlExpression property: SQL expression. e.g. MyProperty='ABC'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCompatibilityLevel
public Action withCompatibilityLevel(Integer compatibilityLevel)
Set the compatibilityLevel property: This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
Parameters:
Returns:
withRequiresPreprocessing
public Action withRequiresPreprocessing(Boolean requiresPreprocessing)
Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.
Parameters:
Returns:
withSqlExpression
public Action withSqlExpression(String sqlExpression)
Set the sqlExpression property: SQL expression. e.g. MyProperty='ABC'.
Parameters:
Returns:
Applies to
Azure SDK for Java