Class SecurityContactPropertiesAlertNotifications

java.lang.Object
com.azure.resourcemanager.security.models.SecurityContactPropertiesAlertNotifications

public final class SecurityContactPropertiesAlertNotifications extends Object
Defines whether to send email notifications about new security alerts.
  • Constructor Details

    • SecurityContactPropertiesAlertNotifications

      public SecurityContactPropertiesAlertNotifications()
  • Method Details

    • state

      public State state()
      Get the state property: Defines if email notifications will be sent about new security alerts.
      Returns:
      the state value.
    • withState

      Set the state property: Defines if email notifications will be sent about new security alerts.
      Parameters:
      state - the state value to set.
      Returns:
      the SecurityContactPropertiesAlertNotifications object itself.
    • minimalSeverity

      public MinimalSeverity minimalSeverity()
      Get the minimalSeverity property: Defines the minimal alert severity which will be sent as email notifications.
      Returns:
      the minimalSeverity value.
    • withMinimalSeverity

      public SecurityContactPropertiesAlertNotifications withMinimalSeverity(MinimalSeverity minimalSeverity)
      Set the minimalSeverity property: Defines the minimal alert severity which will be sent as email notifications.
      Parameters:
      minimalSeverity - the minimalSeverity value to set.
      Returns:
      the SecurityContactPropertiesAlertNotifications object itself.
    • validate

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