Class AzureMonitorAlertSettings
java.lang.Object
com.azure.resourcemanager.recoveryservices.models.AzureMonitorAlertSettings
Settings for Azure Monitor based alerts.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the alertsForAllJobFailures property: The alertsForAllJobFailures property.void
validate()
Validates the instance.withAlertsForAllJobFailures
(AlertsState alertsForAllJobFailures) Set the alertsForAllJobFailures property: The alertsForAllJobFailures property.
-
Constructor Details
-
AzureMonitorAlertSettings
public AzureMonitorAlertSettings()
-
-
Method Details
-
alertsForAllJobFailures
Get the alertsForAllJobFailures property: The alertsForAllJobFailures property.- Returns:
- the alertsForAllJobFailures value.
-
withAlertsForAllJobFailures
Set the alertsForAllJobFailures property: The alertsForAllJobFailures property.- Parameters:
alertsForAllJobFailures
- the alertsForAllJobFailures value to set.- Returns:
- the AzureMonitorAlertSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-