Class MetricAlertAction


  • public class MetricAlertAction
    extends Object
    An alert action.
    • Constructor Detail

      • MetricAlertAction

        public MetricAlertAction()
    • Method Detail

      • actionGroupId

        public String actionGroupId()
        Get the id of the action group to use.
        Returns:
        the actionGroupId value
      • withActionGroupId

        public MetricAlertAction withActionGroupId​(String actionGroupId)
        Set the id of the action group to use.
        Parameters:
        actionGroupId - the actionGroupId value to set
        Returns:
        the MetricAlertAction object itself.
      • webhookProperties

        public Map<String,​String> webhookProperties()
        Get the properties of a webhook object.
        Returns:
        the webhookProperties value
      • withWebhookProperties

        public MetricAlertAction withWebhookProperties​(Map<String,​String> webhookProperties)
        Set the properties of a webhook object.
        Parameters:
        webhookProperties - the webhookProperties value to set
        Returns:
        the MetricAlertAction object itself.