Class AutomationRulePropertyValuesCondition
java.lang.Object
com.azure.resourcemanager.securityinsights.models.AutomationRulePropertyValuesCondition
The AutomationRulePropertyValuesCondition model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionoperator()
Get the operator property: The operator property.Get the propertyName property: The property to evaluate in an automation rule property condition.Get the propertyValues property: The propertyValues property.void
validate()
Validates the instance.Set the operator property: The operator property.Set the propertyName property: The property to evaluate in an automation rule property condition.withPropertyValues
(List<String> propertyValues) Set the propertyValues property: The propertyValues property.
-
Constructor Details
-
AutomationRulePropertyValuesCondition
public AutomationRulePropertyValuesCondition()
-
-
Method Details
-
propertyName
Get the propertyName property: The property to evaluate in an automation rule property condition.- Returns:
- the propertyName value.
-
withPropertyName
public AutomationRulePropertyValuesCondition withPropertyName(AutomationRulePropertyConditionSupportedProperty propertyName) Set the propertyName property: The property to evaluate in an automation rule property condition.- Parameters:
propertyName
- the propertyName value to set.- Returns:
- the AutomationRulePropertyValuesCondition object itself.
-
operator
Get the operator property: The operator property.- Returns:
- the operator value.
-
withOperator
public AutomationRulePropertyValuesCondition withOperator(AutomationRulePropertyConditionSupportedOperator operator) Set the operator property: The operator property.- Parameters:
operator
- the operator value to set.- Returns:
- the AutomationRulePropertyValuesCondition object itself.
-
propertyValues
Get the propertyValues property: The propertyValues property.- Returns:
- the propertyValues value.
-
withPropertyValues
Set the propertyValues property: The propertyValues property.- Parameters:
propertyValues
- the propertyValues value to set.- Returns:
- the AutomationRulePropertyValuesCondition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-