Class GraphQueries
java.lang.Object
com.azure.resourcemanager.securityinsights.models.GraphQueries
- Direct Known Subclasses:
CodelessUiConnectorConfigPropertiesGraphQueriesItem
The graph query to show the current data status.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the baseQuery property: The base query for the graph.legend()
Get the legend property: The legend for the graph.Get the metricName property: the metric that the query is checking.void
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.
-
Constructor Details
-
GraphQueries
public GraphQueries()
-
-
Method Details
-
metricName
Get the metricName property: the metric that the query is checking.- Returns:
- the metricName value.
-
withMetricName
Set the metricName property: the metric that the query is checking.- Parameters:
metricName
- the metricName value to set.- Returns:
- the GraphQueries object itself.
-
legend
Get the legend property: The legend for the graph.- Returns:
- the legend value.
-
withLegend
Set the legend property: The legend for the graph.- Parameters:
legend
- the legend value to set.- Returns:
- the GraphQueries object itself.
-
baseQuery
Get the baseQuery property: The base query for the graph.- Returns:
- the baseQuery value.
-
withBaseQuery
Set the baseQuery property: The base query for the graph.- Parameters:
baseQuery
- the baseQuery value to set.- Returns:
- the GraphQueries object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-