Class MLBehaviorAnalyticsAlertRule
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
-
- com.azure.resourcemanager.securityinsights.fluent.models.AlertRuleInner
-
- com.azure.resourcemanager.securityinsights.models.MLBehaviorAnalyticsAlertRule
-
public final class MLBehaviorAnalyticsAlertRule extends AlertRuleInner
Represents MLBehaviorAnalytics alert rule.
-
-
Constructor Summary
Constructors Constructor Description MLBehaviorAnalyticsAlertRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
alertRuleTemplateName()
Get the alertRuleTemplateName property: The Name of the alert rule template used to create this rule.String
description()
Get the description property: The description of the alert rule.String
displayName()
Get the displayName property: The display name for alerts created by this alert rule.Boolean
enabled()
Get the enabled property: Determines whether this alert rule is enabled or disabled.OffsetDateTime
lastModifiedUtc()
Get the lastModifiedUtc property: The last time that this alert rule has been modified.AlertSeverity
severity()
Get the severity property: The severity for alerts created by this alert rule.List<AttackTactic>
tactics()
Get the tactics property: The tactics of the alert rule.List<String>
techniques()
Get the techniques property: The techniques of the alert rule.void
validate()
Validates the instance.MLBehaviorAnalyticsAlertRule
withAlertRuleTemplateName(String alertRuleTemplateName)
Set the alertRuleTemplateName property: The Name of the alert rule template used to create this rule.MLBehaviorAnalyticsAlertRule
withEnabled(Boolean enabled)
Set the enabled property: Determines whether this alert rule is enabled or disabled.MLBehaviorAnalyticsAlertRule
withEtag(String etag)
Set the etag property: Etag of the azure resource.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
etag, systemData
-
-
-
-
Method Detail
-
withEtag
public MLBehaviorAnalyticsAlertRule withEtag(String etag)
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classAlertRuleInner
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
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 MLBehaviorAnalyticsAlertRule 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 MLBehaviorAnalyticsAlertRule object itself.
-
description
public String description()
Get the description property: The description of the alert rule.- Returns:
- the description value.
-
displayName
public String displayName()
Get the displayName property: The display name for alerts created by this alert rule.- Returns:
- the displayName value.
-
enabled
public Boolean enabled()
Get the enabled property: Determines whether this alert rule is enabled or disabled.- Returns:
- the enabled value.
-
withEnabled
public MLBehaviorAnalyticsAlertRule 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 MLBehaviorAnalyticsAlertRule object itself.
-
lastModifiedUtc
public OffsetDateTime lastModifiedUtc()
Get the lastModifiedUtc property: The last time that this alert rule has been modified.- Returns:
- the lastModifiedUtc value.
-
severity
public AlertSeverity severity()
Get the severity property: The severity for alerts created by this alert rule.- Returns:
- the severity value.
-
tactics
public List<AttackTactic> tactics()
Get the tactics property: The tactics of the alert rule.- Returns:
- the tactics value.
-
techniques
public List<String> techniques()
Get the techniques property: The techniques of the alert rule.- Returns:
- the techniques value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAlertRuleInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-