Class AlertRuleTemplateDataSource
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.AlertRuleTemplateDataSource
-
public final class AlertRuleTemplateDataSource extends Object
alert rule template data sources.
-
-
Constructor Summary
Constructors Constructor Description AlertRuleTemplateDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
connectorId()
Get the connectorId property: The connector id that provides the following data types.List<String>
dataTypes()
Get the dataTypes property: The data types used by the alert rule template.void
validate()
Validates the instance.AlertRuleTemplateDataSource
withConnectorId(String connectorId)
Set the connectorId property: The connector id that provides the following data types.AlertRuleTemplateDataSource
withDataTypes(List<String> dataTypes)
Set the dataTypes property: The data types used by the alert rule template.
-
-
-
Method Detail
-
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.
-
-