Class SecurityContactPropertiesAlertNotifications
java.lang.Object
com.azure.resourcemanager.security.models.SecurityContactPropertiesAlertNotifications
Defines whether to send email notifications about new security alerts.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the minimalSeverity property: Defines the minimal alert severity which will be sent as email notifications.state()
Get the state property: Defines if email notifications will be sent about new security alerts.void
validate()
Validates the instance.withMinimalSeverity
(MinimalSeverity minimalSeverity) Set the minimalSeverity property: Defines the minimal alert severity which will be sent as email notifications.Set the state property: Defines if email notifications will be sent about new security alerts.
-
Constructor Details
-
SecurityContactPropertiesAlertNotifications
public SecurityContactPropertiesAlertNotifications()
-
-
Method Details
-
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
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.
-