NotificationsSourceAttackPath Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. NotificationsSource - com.
azure. resourcemanager. security. models. NotificationsSourceAttackPath
- com.
- com.
public final class NotificationsSourceAttackPath
extends NotificationsSource
Attack path notification source.
Constructor Summary
| Constructor | Description |
|---|---|
| NotificationsSourceAttackPath() |
Creates an instance of Notifications |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Notifications |
fromJson(JsonReader jsonReader)
Reads an instance of Notifications |
|
Minimal |
minimalRiskLevel()
Get the minimal |
|
Source |
sourceType()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Notifications |
withMinimalRiskLevel(MinimalRiskLevel minimalRiskLevel)
Set the minimal |
Methods inherited from NotificationsSource
Methods inherited from java.lang.Object
Constructor Details
NotificationsSourceAttackPath
public NotificationsSourceAttackPath()
Creates an instance of NotificationsSourceAttackPath class.
Method Details
fromJson
public static NotificationsSourceAttackPath fromJson(JsonReader jsonReader)
Reads an instance of NotificationsSourceAttackPath from the JsonReader.
Parameters:
Returns:
Throws:
minimalRiskLevel
public MinimalRiskLevel minimalRiskLevel()
Get the minimalRiskLevel property: Defines the minimal attach path risk level 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:
NotificationsSourceAttackPath.sourceType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NotificationsSourceAttackPath.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
NotificationsSourceAttackPath.validate()withMinimalRiskLevel
public NotificationsSourceAttackPath withMinimalRiskLevel(MinimalRiskLevel minimalRiskLevel)
Set the minimalRiskLevel property: Defines the minimal attach path risk level which will be sent as email notifications.
Parameters:
Returns: