Class FusionAlertRuleTemplateProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.fluent.models.FusionAlertRuleTemplateProperties
-
public final class FusionAlertRuleTemplateProperties extends Object
Fusion alert rule template properties.
-
-
Constructor Summary
Constructors Constructor Description FusionAlertRuleTemplateProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
alertRulesCreatedByTemplateCount()
Get the alertRulesCreatedByTemplateCount property: the number of alert rules that were created by this template.OffsetDateTime
createdDateUtc()
Get the createdDateUtc property: The time that this alert rule template has been added.String
description()
Get the description property: The description of the alert rule template.String
displayName()
Get the displayName property: The display name for alert rule template.OffsetDateTime
lastUpdatedDateUtc()
Get the lastUpdatedDateUtc property: The time that this alert rule template was last updated.List<AlertRuleTemplateDataSource>
requiredDataConnectors()
Get the requiredDataConnectors property: The required data connectors for this template.AlertSeverity
severity()
Get the severity property: The severity for alerts created by this alert rule.List<FusionTemplateSourceSetting>
sourceSettings()
Get the sourceSettings property: All supported source signal configurations consumed in fusion detection.TemplateStatus
status()
Get the status property: The alert rule template status.List<AttackTactic>
tactics()
Get the tactics property: The tactics of the alert rule template.List<String>
techniques()
Get the techniques property: The techniques of the alert rule.void
validate()
Validates the instance.FusionAlertRuleTemplateProperties
withAlertRulesCreatedByTemplateCount(Integer alertRulesCreatedByTemplateCount)
Set the alertRulesCreatedByTemplateCount property: the number of alert rules that were created by this template.FusionAlertRuleTemplateProperties
withDescription(String description)
Set the description property: The description of the alert rule template.FusionAlertRuleTemplateProperties
withDisplayName(String displayName)
Set the displayName property: The display name for alert rule template.FusionAlertRuleTemplateProperties
withRequiredDataConnectors(List<AlertRuleTemplateDataSource> requiredDataConnectors)
Set the requiredDataConnectors property: The required data connectors for this template.FusionAlertRuleTemplateProperties
withSeverity(AlertSeverity severity)
Set the severity property: The severity for alerts created by this alert rule.FusionAlertRuleTemplateProperties
withSourceSettings(List<FusionTemplateSourceSetting> sourceSettings)
Set the sourceSettings property: All supported source signal configurations consumed in fusion detection.FusionAlertRuleTemplateProperties
withStatus(TemplateStatus status)
Set the status property: The alert rule template status.FusionAlertRuleTemplateProperties
withTactics(List<AttackTactic> tactics)
Set the tactics property: The tactics of the alert rule template.FusionAlertRuleTemplateProperties
withTechniques(List<String> techniques)
Set the techniques property: The techniques of the alert rule.
-
-
-
Method Detail
-
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 FusionAlertRuleTemplateProperties 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 FusionAlertRuleTemplateProperties object itself.
-
createdDateUtc
public OffsetDateTime createdDateUtc()
Get the createdDateUtc property: The time that this alert rule template has been added.- Returns:
- the createdDateUtc value.
-
lastUpdatedDateUtc
public OffsetDateTime lastUpdatedDateUtc()
Get the lastUpdatedDateUtc property: The time that this alert rule template was last updated.- Returns:
- the lastUpdatedDateUtc value.
-
description
public String description()
Get the description property: The description of the alert rule template.- Returns:
- the description value.
-
withDescription
public FusionAlertRuleTemplateProperties withDescription(String description)
Set the description property: The description of the alert rule template.- Parameters:
description
- the description value to set.- Returns:
- the FusionAlertRuleTemplateProperties object itself.
-
displayName
public String displayName()
Get the displayName property: The display name for alert rule template.- Returns:
- the displayName value.
-
withDisplayName
public FusionAlertRuleTemplateProperties withDisplayName(String displayName)
Set the displayName property: The display name for alert rule template.- Parameters:
displayName
- the displayName value to set.- Returns:
- the FusionAlertRuleTemplateProperties object itself.
-
requiredDataConnectors
public List<AlertRuleTemplateDataSource> requiredDataConnectors()
Get the requiredDataConnectors property: The required data connectors for this template.- Returns:
- the requiredDataConnectors value.
-
withRequiredDataConnectors
public FusionAlertRuleTemplateProperties withRequiredDataConnectors(List<AlertRuleTemplateDataSource> requiredDataConnectors)
Set the requiredDataConnectors property: The required data connectors for this template.- Parameters:
requiredDataConnectors
- the requiredDataConnectors value to set.- Returns:
- the FusionAlertRuleTemplateProperties object itself.
-
status
public TemplateStatus status()
Get the status property: The alert rule template status.- Returns:
- the status value.
-
withStatus
public FusionAlertRuleTemplateProperties withStatus(TemplateStatus status)
Set the status property: The alert rule template status.- Parameters:
status
- the status value to set.- Returns:
- the FusionAlertRuleTemplateProperties object itself.
-
severity
public AlertSeverity severity()
Get the severity property: The severity for alerts created by this alert rule.- Returns:
- the severity value.
-
withSeverity
public FusionAlertRuleTemplateProperties 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 FusionAlertRuleTemplateProperties object itself.
-
tactics
public List<AttackTactic> tactics()
Get the tactics property: The tactics of the alert rule template.- Returns:
- the tactics value.
-
withTactics
public FusionAlertRuleTemplateProperties withTactics(List<AttackTactic> tactics)
Set the tactics property: The tactics of the alert rule template.- Parameters:
tactics
- the tactics value to set.- Returns:
- the FusionAlertRuleTemplateProperties object itself.
-
techniques
public List<String> techniques()
Get the techniques property: The techniques of the alert rule.- Returns:
- the techniques value.
-
withTechniques
public FusionAlertRuleTemplateProperties withTechniques(List<String> techniques)
Set the techniques property: The techniques of the alert rule.- Parameters:
techniques
- the techniques value to set.- Returns:
- the FusionAlertRuleTemplateProperties object itself.
-
sourceSettings
public List<FusionTemplateSourceSetting> sourceSettings()
Get the sourceSettings property: All supported source signal configurations consumed in fusion detection.- Returns:
- the sourceSettings value.
-
withSourceSettings
public FusionAlertRuleTemplateProperties withSourceSettings(List<FusionTemplateSourceSetting> sourceSettings)
Set the sourceSettings property: All supported source signal configurations consumed in fusion detection.- Parameters:
sourceSettings
- the sourceSettings value to set.- Returns:
- the FusionAlertRuleTemplateProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-