Class ActivityLogAlertLeafCondition


  • public class ActivityLogAlertLeafCondition
    extends Object
    An Activity Log alert condition that is met by comparing an activity log field and value.
    • Constructor Detail

      • ActivityLogAlertLeafCondition

        public ActivityLogAlertLeafCondition()
    • 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.