Class AlertSyncSettings

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.SettingInner
com.azure.resourcemanager.security.models.AlertSyncSettings

public final class AlertSyncSettings extends SettingInner
Represents an alert sync setting.
  • Constructor Details

    • AlertSyncSettings

      public AlertSyncSettings()
  • Method Details

    • enabled

      public Boolean enabled()
      Get the enabled property: Is the alert sync setting enabled.
      Returns:
      the enabled value.
    • withEnabled

      public AlertSyncSettings withEnabled(Boolean enabled)
      Set the enabled property: Is the alert sync setting enabled.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the AlertSyncSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class SettingInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.