Class ActivityLogAlertResourceInner

    • Constructor Detail

      • ActivityLogAlertResourceInner

        public ActivityLogAlertResourceInner()
    • Method Detail

      • scopes

        public List<String> scopes()
        Get the scopes property: A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item.
        Returns:
        the scopes value.
      • withScopes

        public ActivityLogAlertResourceInner withScopes​(List<String> scopes)
        Set the scopes property: A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item.
        Parameters:
        scopes - the scopes value to set.
        Returns:
        the ActivityLogAlertResourceInner object itself.
      • enabled

        public Boolean enabled()
        Get the enabled property: Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.
        Returns:
        the enabled value.
      • withEnabled

        public ActivityLogAlertResourceInner withEnabled​(Boolean enabled)
        Set the enabled property: Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.
        Parameters:
        enabled - the enabled value to set.
        Returns:
        the ActivityLogAlertResourceInner object itself.
      • condition

        public ActivityLogAlertAllOfCondition condition()
        Get the condition property: The condition that will cause this alert to activate.
        Returns:
        the condition value.
      • withCondition

        public ActivityLogAlertResourceInner withCondition​(ActivityLogAlertAllOfCondition condition)
        Set the condition property: The condition that will cause this alert to activate.
        Parameters:
        condition - the condition value to set.
        Returns:
        the ActivityLogAlertResourceInner object itself.
      • actions

        public ActivityLogAlertActionList actions()
        Get the actions property: The actions that will activate when the condition is met.
        Returns:
        the actions value.
      • withActions

        public ActivityLogAlertResourceInner withActions​(ActivityLogAlertActionList actions)
        Set the actions property: The actions that will activate when the condition is met.
        Parameters:
        actions - the actions value to set.
        Returns:
        the ActivityLogAlertResourceInner object itself.
      • description

        public String description()
        Get the description property: A description of this activity log alert.
        Returns:
        the description value.
      • withDescription

        public ActivityLogAlertResourceInner withDescription​(String description)
        Set the description property: A description of this activity log alert.
        Parameters:
        description - the description value to set.
        Returns:
        the ActivityLogAlertResourceInner object itself.