Class MonitoringSettings
java.lang.Object
com.azure.resourcemanager.recoveryservices.models.MonitoringSettings
Monitoring Settings of the vault.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the azureMonitorAlertSettings property: Settings for Azure Monitor based alerts.Get the classicAlertSettings property: Settings for classic alerts.void
validate()
Validates the instance.withAzureMonitorAlertSettings
(AzureMonitorAlertSettings azureMonitorAlertSettings) Set the azureMonitorAlertSettings property: Settings for Azure Monitor based alerts.withClassicAlertSettings
(ClassicAlertSettings classicAlertSettings) Set the classicAlertSettings property: Settings for classic alerts.
-
Constructor Details
-
MonitoringSettings
public MonitoringSettings()
-
-
Method Details
-
azureMonitorAlertSettings
Get the azureMonitorAlertSettings property: Settings for Azure Monitor based alerts.- Returns:
- the azureMonitorAlertSettings value.
-
withAzureMonitorAlertSettings
public MonitoringSettings withAzureMonitorAlertSettings(AzureMonitorAlertSettings azureMonitorAlertSettings) Set the azureMonitorAlertSettings property: Settings for Azure Monitor based alerts.- Parameters:
azureMonitorAlertSettings
- the azureMonitorAlertSettings value to set.- Returns:
- the MonitoringSettings object itself.
-
classicAlertSettings
Get the classicAlertSettings property: Settings for classic alerts.- Returns:
- the classicAlertSettings value.
-
withClassicAlertSettings
Set the classicAlertSettings property: Settings for classic alerts.- Parameters:
classicAlertSettings
- the classicAlertSettings value to set.- Returns:
- the MonitoringSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-