Class CodelessUiConnectorConfigPropertiesGraphQueriesItem
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.GraphQueries
-
- com.azure.resourcemanager.securityinsights.models.CodelessUiConnectorConfigPropertiesGraphQueriesItem
-
public final class CodelessUiConnectorConfigPropertiesGraphQueriesItem extends GraphQueries
The CodelessUiConnectorConfigPropertiesGraphQueriesItem model.
-
-
Constructor Summary
Constructors Constructor Description CodelessUiConnectorConfigPropertiesGraphQueriesItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.CodelessUiConnectorConfigPropertiesGraphQueriesItem
withBaseQuery(String baseQuery)
Set the baseQuery property: The base query for the graph.CodelessUiConnectorConfigPropertiesGraphQueriesItem
withLegend(String legend)
Set the legend property: The legend for the graph.CodelessUiConnectorConfigPropertiesGraphQueriesItem
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
-
-
-
-
Method Detail
-
withMetricName
public CodelessUiConnectorConfigPropertiesGraphQueriesItem withMetricName(String metricName)
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
public CodelessUiConnectorConfigPropertiesGraphQueriesItem withLegend(String legend)
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
public CodelessUiConnectorConfigPropertiesGraphQueriesItem withBaseQuery(String baseQuery)
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.
-
-