Class MonitoringSettings
java.lang.Object
com.azure.resourcemanager.dataprotection.models.MonitoringSettings
Monitoring Settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the azureMonitorAlertSettings property: Settings for Azure Monitor based alerts.void
validate()
Validates the instance.withAzureMonitorAlertSettings
(AzureMonitorAlertSettings azureMonitorAlertSettings) Set the azureMonitorAlertSettings property: Settings for Azure Monitor based alerts.
-
Constructor Details
-
MonitoringSettings
public MonitoringSettings()Creates an instance of MonitoringSettings class.
-
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-