Class MLBehaviorAnalyticsAlertRuleTemplate


  • public final class MLBehaviorAnalyticsAlertRuleTemplate
    extends AlertRuleTemplateInner
    Represents MLBehaviorAnalytics alert rule template.
    • Constructor Detail

      • MLBehaviorAnalyticsAlertRuleTemplate

        public MLBehaviorAnalyticsAlertRuleTemplate()
    • Method Detail

      • severity

        public AlertSeverity severity()
        Get the severity property: The severity for alerts created by this alert rule.
        Returns:
        the severity value.
      • withSeverity

        public MLBehaviorAnalyticsAlertRuleTemplate withSeverity​(AlertSeverity severity)
        Set the severity property: The severity for alerts created by this alert rule.
        Parameters:
        severity - the severity value to set.
        Returns:
        the MLBehaviorAnalyticsAlertRuleTemplate object itself.
      • tactics

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

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

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

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

        public Integer alertRulesCreatedByTemplateCount()
        Get the alertRulesCreatedByTemplateCount property: the number of alert rules that were created by this template.
        Returns:
        the alertRulesCreatedByTemplateCount value.
      • withAlertRulesCreatedByTemplateCount

        public MLBehaviorAnalyticsAlertRuleTemplate withAlertRulesCreatedByTemplateCount​(Integer alertRulesCreatedByTemplateCount)
        Set the alertRulesCreatedByTemplateCount property: the number of alert rules that were created by this template.
        Parameters:
        alertRulesCreatedByTemplateCount - the alertRulesCreatedByTemplateCount value to set.
        Returns:
        the MLBehaviorAnalyticsAlertRuleTemplate object itself.
      • lastUpdatedDateUtc

        public OffsetDateTime lastUpdatedDateUtc()
        Get the lastUpdatedDateUtc property: The last time that this alert rule template has been updated.
        Returns:
        the lastUpdatedDateUtc value.
      • createdDateUtc

        public OffsetDateTime createdDateUtc()
        Get the createdDateUtc property: The time that this alert rule template has been added.
        Returns:
        the createdDateUtc value.
      • description

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

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

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

        public MLBehaviorAnalyticsAlertRuleTemplate withDisplayName​(String displayName)
        Set the displayName property: The display name for alert rule template.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the MLBehaviorAnalyticsAlertRuleTemplate object itself.
      • requiredDataConnectors

        public List<AlertRuleTemplateDataSource> requiredDataConnectors()
        Get the requiredDataConnectors property: The required data sources for this template.
        Returns:
        the requiredDataConnectors value.
      • withRequiredDataConnectors

        public MLBehaviorAnalyticsAlertRuleTemplate withRequiredDataConnectors​(List<AlertRuleTemplateDataSource> requiredDataConnectors)
        Set the requiredDataConnectors property: The required data sources for this template.
        Parameters:
        requiredDataConnectors - the requiredDataConnectors value to set.
        Returns:
        the MLBehaviorAnalyticsAlertRuleTemplate object itself.
      • status

        public TemplateStatus status()
        Get the status property: The alert rule template status.
        Returns:
        the status value.
      • withStatus

        public MLBehaviorAnalyticsAlertRuleTemplate withStatus​(TemplateStatus status)
        Set the status property: The alert rule template status.
        Parameters:
        status - the status value to set.
        Returns:
        the MLBehaviorAnalyticsAlertRuleTemplate object itself.