Class AlertDetailsOverride
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.AlertDetailsOverride
-
public final class AlertDetailsOverride extends Object
Settings for how to dynamically override alert static details.
-
-
Constructor Summary
Constructors Constructor Description AlertDetailsOverride()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
alertDescriptionFormat()
Get the alertDescriptionFormat property: the format containing columns name(s) to override the alert description.String
alertDisplayNameFormat()
Get the alertDisplayNameFormat property: the format containing columns name(s) to override the alert name.String
alertSeverityColumnName()
Get the alertSeverityColumnName property: the column name to take the alert severity from.String
alertTacticsColumnName()
Get the alertTacticsColumnName property: the column name to take the alert tactics from.void
validate()
Validates the instance.AlertDetailsOverride
withAlertDescriptionFormat(String alertDescriptionFormat)
Set the alertDescriptionFormat property: the format containing columns name(s) to override the alert description.AlertDetailsOverride
withAlertDisplayNameFormat(String alertDisplayNameFormat)
Set the alertDisplayNameFormat property: the format containing columns name(s) to override the alert name.AlertDetailsOverride
withAlertSeverityColumnName(String alertSeverityColumnName)
Set the alertSeverityColumnName property: the column name to take the alert severity from.AlertDetailsOverride
withAlertTacticsColumnName(String alertTacticsColumnName)
Set the alertTacticsColumnName property: the column name to take the alert tactics from.
-
-
-
Method Detail
-
alertDisplayNameFormat
public String alertDisplayNameFormat()
Get the alertDisplayNameFormat property: the format containing columns name(s) to override the alert name.- Returns:
- the alertDisplayNameFormat value.
-
withAlertDisplayNameFormat
public AlertDetailsOverride withAlertDisplayNameFormat(String alertDisplayNameFormat)
Set the alertDisplayNameFormat property: the format containing columns name(s) to override the alert name.- Parameters:
alertDisplayNameFormat
- the alertDisplayNameFormat value to set.- Returns:
- the AlertDetailsOverride object itself.
-
alertDescriptionFormat
public String alertDescriptionFormat()
Get the alertDescriptionFormat property: the format containing columns name(s) to override the alert description.- Returns:
- the alertDescriptionFormat value.
-
withAlertDescriptionFormat
public AlertDetailsOverride withAlertDescriptionFormat(String alertDescriptionFormat)
Set the alertDescriptionFormat property: the format containing columns name(s) to override the alert description.- Parameters:
alertDescriptionFormat
- the alertDescriptionFormat value to set.- Returns:
- the AlertDetailsOverride object itself.
-
alertTacticsColumnName
public String alertTacticsColumnName()
Get the alertTacticsColumnName property: the column name to take the alert tactics from.- Returns:
- the alertTacticsColumnName value.
-
withAlertTacticsColumnName
public AlertDetailsOverride withAlertTacticsColumnName(String alertTacticsColumnName)
Set the alertTacticsColumnName property: the column name to take the alert tactics from.- Parameters:
alertTacticsColumnName
- the alertTacticsColumnName value to set.- Returns:
- the AlertDetailsOverride object itself.
-
alertSeverityColumnName
public String alertSeverityColumnName()
Get the alertSeverityColumnName property: the column name to take the alert severity from.- Returns:
- the alertSeverityColumnName value.
-
withAlertSeverityColumnName
public AlertDetailsOverride withAlertSeverityColumnName(String alertSeverityColumnName)
Set the alertSeverityColumnName property: the column name to take the alert severity from.- Parameters:
alertSeverityColumnName
- the alertSeverityColumnName value to set.- Returns:
- the AlertDetailsOverride object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-