Class ActivityLogAlertLeafCondition
- java.lang.Object
-
- com.microsoft.azure.management.monitor.ActivityLogAlertLeafCondition
-
public class ActivityLogAlertLeafCondition extends Object
An Activity Log alert condition that is met by comparing an activity log field and value.
-
-
Constructor Summary
Constructors Constructor Description ActivityLogAlertLeafCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringequals()Get the field value will be compared to this value (case-insensitive) to determine if the condition is met.Stringfield()Get the name of the field that this condition will examine.ActivityLogAlertLeafConditionwithEquals(String equals)Set the field value will be compared to this value (case-insensitive) to determine if the condition is met.ActivityLogAlertLeafConditionwithField(String field)Set the name of the field that this condition will examine.
-
-
-
Method Detail
-
field
public String field()
Get the name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'.- Returns:
- the field value
-
withField
public ActivityLogAlertLeafCondition withField(String field)
Set the name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'.- Parameters:
field- the field value to set- Returns:
- the ActivityLogAlertLeafCondition object itself.
-
equals
public String equals()
Get the field value will be compared to this value (case-insensitive) to determine if the condition is met.- Returns:
- the equals value
-
withEquals
public ActivityLogAlertLeafCondition withEquals(String equals)
Set the field value will be compared to this value (case-insensitive) to determine if the condition is met.- Parameters:
equals- the equals value to set- Returns:
- the ActivityLogAlertLeafCondition object itself.
-
-