AutomationTriggeringRule Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AutomationTriggeringRule
- com.
public final class 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
Constructor | Description |
---|---|
AutomationTriggeringRule() |
Creates an instance of Automation |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
expectedValue()
Get the expected |
Operator |
operator()
Get the operator property: A valid comparer operator to use. |
String |
propertyJPath()
Get the property |
Property |
propertyType()
Get the property |
void |
validate()
Validates the instance. |
Automation |
withExpectedValue(String expectedValue)
Set the expected |
Automation |
withOperator(Operator operator)
Set the operator property: A valid comparer operator to use. |
Automation |
withPropertyJPath(String propertyJPath)
Set the property |
Automation |
withPropertyType(PropertyType propertyType)
Set the property |
Methods inherited from java.lang.Object
Constructor Details
AutomationTriggeringRule
public AutomationTriggeringRule()
Creates an instance of AutomationTriggeringRule class.
Method Details
expectedValue
public String expectedValue()
Get the expectedValue property: The expected value.
Returns:
operator
public Operator operator()
Get the operator property: A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.
Returns:
propertyJPath
public String propertyJPath()
Get the propertyJPath property: The JPath of the entity model property that should be checked.
Returns:
propertyType
public PropertyType propertyType()
Get the propertyType property: The data type of the compared operands (string, integer, floating point number or a boolean [true/false]].
Returns:
validate
public void validate()
Validates the instance.
withExpectedValue
public AutomationTriggeringRule withExpectedValue(String expectedValue)
Set the expectedValue property: The expected value.
Parameters:
Returns:
withOperator
public AutomationTriggeringRule withOperator(Operator operator)
Set the operator property: A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.
Parameters:
Returns:
withPropertyJPath
public AutomationTriggeringRule withPropertyJPath(String propertyJPath)
Set the propertyJPath property: The JPath of the entity model property that should be checked.
Parameters:
Returns:
withPropertyType
public AutomationTriggeringRule withPropertyType(PropertyType propertyType)
Set the propertyType property: The data type of the compared operands (string, integer, floating point number or a boolean [true/false]].
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for