Class AlertRuleTemplateDataSource

java.lang.Object
com.azure.resourcemanager.securityinsights.models.AlertRuleTemplateDataSource

public final class AlertRuleTemplateDataSource extends Object
alert rule template data sources.
  • Constructor Details

    • AlertRuleTemplateDataSource

      public AlertRuleTemplateDataSource()
  • Method Details

    • connectorId

      public String connectorId()
      Get the connectorId property: The connector id that provides the following data types.
      Returns:
      the connectorId value.
    • withConnectorId

      public AlertRuleTemplateDataSource withConnectorId(String connectorId)
      Set the connectorId property: The connector id that provides the following data types.
      Parameters:
      connectorId - the connectorId value to set.
      Returns:
      the AlertRuleTemplateDataSource object itself.
    • dataTypes

      public List<String> dataTypes()
      Get the dataTypes property: The data types used by the alert rule template.
      Returns:
      the dataTypes value.
    • withDataTypes

      public AlertRuleTemplateDataSource withDataTypes(List<String> dataTypes)
      Set the dataTypes property: The data types used by the alert rule template.
      Parameters:
      dataTypes - the dataTypes value to set.
      Returns:
      the AlertRuleTemplateDataSource object itself.
    • validate

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