AutomationSource Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AutomationSource
- com.
Implements
public final class AutomationSource
implements JsonSerializable<AutomationSource>
The source event types which evaluate the security automation set of rules. For example - security alerts and security assessments. To learn more about the supported security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.
Constructor Summary
| Constructor | Description |
|---|---|
| AutomationSource() |
Creates an instance of Automation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Event |
eventSource()
Get the event |
|
static
Automation |
fromJson(JsonReader jsonReader)
Reads an instance of Automation |
|
List<Automation |
ruleSets()
Get the rule |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Automation |
withEventSource(EventSource eventSource)
Set the event |
|
Automation |
withRuleSets(List<AutomationRuleSet> ruleSets)
Set the rule |
Methods inherited from java.lang.Object
Constructor Details
AutomationSource
public AutomationSource()
Creates an instance of AutomationSource class.
Method Details
eventSource
public EventSource eventSource()
Get the eventSource property: A valid event source type.
Returns:
fromJson
public static AutomationSource fromJson(JsonReader jsonReader)
Reads an instance of AutomationSource from the JsonReader.
Parameters:
Returns:
Throws:
ruleSets
public List<AutomationRuleSet> ruleSets()
Get the ruleSets property: A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical 'or').
Returns:
toJson
validate
public void validate()
Validates the instance.
withEventSource
public AutomationSource withEventSource(EventSource eventSource)
Set the eventSource property: A valid event source type.
Parameters:
Returns:
withRuleSets
public AutomationSource withRuleSets(List<AutomationRuleSet> ruleSets)
Set the ruleSets property: A set of rules which evaluate upon event interception. A logical disjunction is applied between defined rule sets (logical 'or').
Parameters:
Returns: