Class ScheduledAlertRuleProperties

    • Constructor Detail

      • ScheduledAlertRuleProperties

        public ScheduledAlertRuleProperties()
    • Method Detail

      • alertRuleTemplateName

        public String alertRuleTemplateName()
        Get the alertRuleTemplateName property: The Name of the alert rule template used to create this rule.
        Returns:
        the alertRuleTemplateName value.
      • withAlertRuleTemplateName

        public ScheduledAlertRuleProperties withAlertRuleTemplateName​(String alertRuleTemplateName)
        Set the alertRuleTemplateName property: The Name of the alert rule template used to create this rule.
        Parameters:
        alertRuleTemplateName - the alertRuleTemplateName value to set.
        Returns:
        the ScheduledAlertRuleProperties object itself.
      • templateVersion

        public String templateVersion()
        Get the templateVersion property: The version of the alert rule template used to create this rule - in format <a.b.c>, where all are numbers, for example 0 <1.0.2>.
        Returns:
        the templateVersion value.
      • withTemplateVersion

        public ScheduledAlertRuleProperties withTemplateVersion​(String templateVersion)
        Set the templateVersion property: The version of the alert rule template used to create this rule - in format <a.b.c>, where all are numbers, for example 0 <1.0.2>.
        Parameters:
        templateVersion - the templateVersion value to set.
        Returns:
        the ScheduledAlertRuleProperties object itself.
      • description

        public String description()
        Get the description property: The description of the alert rule.
        Returns:
        the description value.
      • withDescription

        public ScheduledAlertRuleProperties withDescription​(String description)
        Set the description property: The description of the alert rule.
        Parameters:
        description - the description value to set.
        Returns:
        the ScheduledAlertRuleProperties object itself.
      • displayName

        public String displayName()
        Get the displayName property: The display name for alerts created by this alert rule.
        Returns:
        the displayName value.
      • withDisplayName

        public ScheduledAlertRuleProperties withDisplayName​(String displayName)
        Set the displayName property: The display name for alerts created by this alert rule.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the ScheduledAlertRuleProperties object itself.
      • enabled

        public boolean enabled()
        Get the enabled property: Determines whether this alert rule is enabled or disabled.
        Returns:
        the enabled value.
      • withEnabled

        public ScheduledAlertRuleProperties withEnabled​(boolean enabled)
        Set the enabled property: Determines whether this alert rule is enabled or disabled.
        Parameters:
        enabled - the enabled value to set.
        Returns:
        the ScheduledAlertRuleProperties object itself.
      • lastModifiedUtc

        public OffsetDateTime lastModifiedUtc()
        Get the lastModifiedUtc property: The last time that this alert rule has been modified.
        Returns:
        the lastModifiedUtc value.
      • suppressionDuration

        public Duration suppressionDuration()
        Get the suppressionDuration property: The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered.
        Returns:
        the suppressionDuration value.
      • withSuppressionDuration

        public ScheduledAlertRuleProperties withSuppressionDuration​(Duration suppressionDuration)
        Set the suppressionDuration property: The suppression (in ISO 8601 duration format) to wait since last time this alert rule been triggered.
        Parameters:
        suppressionDuration - the suppressionDuration value to set.
        Returns:
        the ScheduledAlertRuleProperties object itself.
      • suppressionEnabled

        public boolean suppressionEnabled()
        Get the suppressionEnabled property: Determines whether the suppression for this alert rule is enabled or disabled.
        Returns:
        the suppressionEnabled value.
      • withSuppressionEnabled

        public ScheduledAlertRuleProperties withSuppressionEnabled​(boolean suppressionEnabled)
        Set the suppressionEnabled property: Determines whether the suppression for this alert rule is enabled or disabled.
        Parameters:
        suppressionEnabled - the suppressionEnabled value to set.
        Returns:
        the ScheduledAlertRuleProperties object itself.
      • tactics

        public List<AttackTactic> tactics()
        Get the tactics property: The tactics of the alert rule.
        Returns:
        the tactics value.
      • withTactics

        public ScheduledAlertRuleProperties withTactics​(List<AttackTactic> tactics)
        Set the tactics property: The tactics of the alert rule.
        Parameters:
        tactics - the tactics value to set.
        Returns:
        the ScheduledAlertRuleProperties object itself.
      • techniques

        public List<String> techniques()
        Get the techniques property: The techniques of the alert rule.
        Returns:
        the techniques value.
      • withTechniques

        public ScheduledAlertRuleProperties withTechniques​(List<String> techniques)
        Set the techniques property: The techniques of the alert rule.
        Parameters:
        techniques - the techniques value to set.
        Returns:
        the ScheduledAlertRuleProperties object itself.
      • incidentConfiguration

        public IncidentConfiguration incidentConfiguration()
        Get the incidentConfiguration property: The settings of the incidents that created from alerts triggered by this analytics rule.
        Returns:
        the incidentConfiguration value.
      • withIncidentConfiguration

        public ScheduledAlertRuleProperties withIncidentConfiguration​(IncidentConfiguration incidentConfiguration)
        Set the incidentConfiguration property: The settings of the incidents that created from alerts triggered by this analytics rule.
        Parameters:
        incidentConfiguration - the incidentConfiguration value to set.
        Returns:
        the ScheduledAlertRuleProperties object itself.