Class AutomationRulePropertyValuesCondition
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.AutomationRulePropertyValuesCondition
-
public final class AutomationRulePropertyValuesCondition extends Object
The AutomationRulePropertyValuesCondition model.
-
-
Constructor Summary
Constructors Constructor Description AutomationRulePropertyValuesCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutomationRulePropertyConditionSupportedOperator
operator()
Get the operator property: The operator property.AutomationRulePropertyConditionSupportedProperty
propertyName()
Get the propertyName property: The property to evaluate in an automation rule property condition.List<String>
propertyValues()
Get the propertyValues property: The propertyValues property.void
validate()
Validates the instance.AutomationRulePropertyValuesCondition
withOperator(AutomationRulePropertyConditionSupportedOperator operator)
Set the operator property: The operator property.AutomationRulePropertyValuesCondition
withPropertyName(AutomationRulePropertyConditionSupportedProperty propertyName)
Set the propertyName property: The property to evaluate in an automation rule property condition.AutomationRulePropertyValuesCondition
withPropertyValues(List<String> propertyValues)
Set the propertyValues property: The propertyValues property.
-
-
-
Method Detail
-
propertyName
public AutomationRulePropertyConditionSupportedProperty 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
public AutomationRulePropertyConditionSupportedOperator 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
public List<String> propertyValues()
Get the propertyValues property: The propertyValues property.- Returns:
- the propertyValues value.
-
withPropertyValues
public AutomationRulePropertyValuesCondition withPropertyValues(List<String> propertyValues)
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.
-
-