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