Class AlertRuleTemplateDataSource
java.lang.Object
com.azure.resourcemanager.securityinsights.models.AlertRuleTemplateDataSource
alert rule template data sources.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectorId property: The connector id that provides the following data types.Get the dataTypes property: The data types used by the alert rule template.void
validate()
Validates the instance.withConnectorId
(String connectorId) Set the connectorId property: The connector id that provides the following data types.withDataTypes
(List<String> dataTypes) Set the dataTypes property: The data types used by the alert rule template.
-
Constructor Details
-
AlertRuleTemplateDataSource
public AlertRuleTemplateDataSource()
-
-
Method Details
-
connectorId
Get the connectorId property: The connector id that provides the following data types.- Returns:
- the connectorId value.
-
withConnectorId
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
Get the dataTypes property: The data types used by the alert rule template.- Returns:
- the dataTypes value.
-
withDataTypes
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.
-