Class MonitoringSettings

java.lang.Object
com.azure.resourcemanager.dataprotection.models.MonitoringSettings

public final class MonitoringSettings extends Object
Monitoring Settings.
  • Constructor Details

    • MonitoringSettings

      public MonitoringSettings()
      Creates an instance of MonitoringSettings class.
  • Method Details

    • azureMonitorAlertSettings

      public AzureMonitorAlertSettings 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.