Class AutomationTriggeringRule
java.lang.Object
com.azure.resourcemanager.security.models.AutomationTriggeringRule
A rule which is evaluated upon event interception. The rule is configured by comparing a specific value from the
event model to an expected value. This comparison is done by using one of the supported operators set.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the expectedValue property: The expected value.operator()
Get the operator property: A valid comparer operator to use.Get the propertyJPath property: The JPath of the entity model property that should be checked.Get the propertyType property: The data type of the compared operands (string, integer, floating point number or a boolean [true/false]].void
validate()
Validates the instance.withExpectedValue
(String expectedValue) Set the expectedValue property: The expected value.withOperator
(Operator operator) Set the operator property: A valid comparer operator to use.withPropertyJPath
(String propertyJPath) Set the propertyJPath property: The JPath of the entity model property that should be checked.withPropertyType
(PropertyType propertyType) Set the propertyType property: The data type of the compared operands (string, integer, floating point number or a boolean [true/false]].
-
Constructor Details
-
AutomationTriggeringRule
public AutomationTriggeringRule()
-
-
Method Details
-
propertyJPath
Get the propertyJPath property: The JPath of the entity model property that should be checked.- Returns:
- the propertyJPath value.
-
withPropertyJPath
Set the propertyJPath property: The JPath of the entity model property that should be checked.- Parameters:
propertyJPath
- the propertyJPath value to set.- Returns:
- the AutomationTriggeringRule object itself.
-
propertyType
Get the propertyType property: The data type of the compared operands (string, integer, floating point number or a boolean [true/false]].- Returns:
- the propertyType value.
-
withPropertyType
Set the propertyType property: The data type of the compared operands (string, integer, floating point number or a boolean [true/false]].- Parameters:
propertyType
- the propertyType value to set.- Returns:
- the AutomationTriggeringRule object itself.
-
expectedValue
Get the expectedValue property: The expected value.- Returns:
- the expectedValue value.
-
withExpectedValue
Set the expectedValue property: The expected value.- Parameters:
expectedValue
- the expectedValue value to set.- Returns:
- the AutomationTriggeringRule object itself.
-
operator
Get the operator property: A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.- Returns:
- the operator value.
-
withOperator
Set the operator property: A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.- Parameters:
operator
- the operator value to set.- Returns:
- the AutomationTriggeringRule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-