Class AutomationSource

java.lang.Object
com.azure.resourcemanager.security.models.AutomationSource

public final class AutomationSource extends Object
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 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:
      the eventSource value.
    • withEventSource

      public AutomationSource withEventSource(EventSource eventSource)
      Set the eventSource property: A valid event source type.
      Parameters:
      eventSource - the eventSource value to set.
      Returns:
      the AutomationSource object itself.
    • 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:
      the ruleSets value.
    • 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:
      ruleSets - the ruleSets value to set.
      Returns:
      the AutomationSource object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.