Class CodelessUiConnectorConfigPropertiesGraphQueriesItem
java.lang.Object
com.azure.resourcemanager.securityinsights.models.GraphQueries
com.azure.resourcemanager.securityinsights.models.CodelessUiConnectorConfigPropertiesGraphQueriesItem
The CodelessUiConnectorConfigPropertiesGraphQueriesItem model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withBaseQuery
(String baseQuery) Set the baseQuery property: The base query for the graph.withLegend
(String legend) Set the legend property: The legend for the graph.withMetricName
(String metricName) Set the metricName property: the metric that the query is checking.Methods inherited from class com.azure.resourcemanager.securityinsights.models.GraphQueries
baseQuery, legend, metricName
-
Constructor Details
-
CodelessUiConnectorConfigPropertiesGraphQueriesItem
public CodelessUiConnectorConfigPropertiesGraphQueriesItem()
-
-
Method Details
-
withMetricName
Set the metricName property: the metric that the query is checking.- Overrides:
withMetricName
in classGraphQueries
- Parameters:
metricName
- the metricName value to set.- Returns:
- the GraphQueries object itself.
-
withLegend
Set the legend property: The legend for the graph.- Overrides:
withLegend
in classGraphQueries
- Parameters:
legend
- the legend value to set.- Returns:
- the GraphQueries object itself.
-
withBaseQuery
Set the baseQuery property: The base query for the graph.- Overrides:
withBaseQuery
in classGraphQueries
- Parameters:
baseQuery
- the baseQuery value to set.- Returns:
- the GraphQueries object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classGraphQueries
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-