SourceType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. SourceType
- com.
- com.
public final class SourceType
extends ExpandableStringEnum<SourceType>
The source type that will trigger the notification.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Source |
ALERT
Alert. |
|
static final
Source |
ATTACK_PATH
Attack |
Constructor Summary
| Constructor | Description |
|---|---|
| SourceType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Source |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Source |
fromString(String name)
Creates or finds a Source |
|
static
Collection<Source |
values()
Gets known Source |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALERT
public static final SourceType ALERT
Alert.
ATTACK_PATH
public static final SourceType ATTACK_PATH
AttackPath.
Constructor Details
SourceType
@Deprecated
public SourceType()
Deprecated
Creates a new instance of SourceType value.
Method Details
fromString
public static SourceType fromString(String name)
Creates or finds a SourceType from its string representation.
Parameters:
Returns:
values
public static Collection<SourceType> values()
Gets known SourceType values.
Returns: