NotificationsSourceAlert Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. NotificationsSource - com.
azure. resourcemanager. security. models. NotificationsSourceAlert
- com.
- com.
public final class NotificationsSourceAlert
extends NotificationsSource
Alert notification source.
Constructor Summary
| Constructor | Description |
|---|---|
| NotificationsSourceAlert() |
Creates an instance of Notifications |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Notifications |
fromJson(JsonReader jsonReader)
Reads an instance of Notifications |
|
Minimal |
minimalSeverity()
Get the minimal |
|
Source |
sourceType()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Notifications |
withMinimalSeverity(MinimalSeverity minimalSeverity)
Set the minimal |
Methods inherited from NotificationsSource
Methods inherited from java.lang.Object
Constructor Details
NotificationsSourceAlert
public NotificationsSourceAlert()
Creates an instance of NotificationsSourceAlert class.
Method Details
fromJson
public static NotificationsSourceAlert fromJson(JsonReader jsonReader)
Reads an instance of NotificationsSourceAlert from the JsonReader.
Parameters:
Returns:
Throws:
minimalSeverity
public MinimalSeverity minimalSeverity()
Get the minimalSeverity property: Defines the minimal alert severity which will be sent as email notifications.
Returns:
sourceType
public SourceType sourceType()
Get the sourceType property: The source type that will trigger the notification.
Overrides:
NotificationsSourceAlert.sourceType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NotificationsSourceAlert.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
NotificationsSourceAlert.validate()withMinimalSeverity
public NotificationsSourceAlert withMinimalSeverity(MinimalSeverity minimalSeverity)
Set the minimalSeverity property: Defines the minimal alert severity which will be sent as email notifications.
Parameters:
Returns: