Class GraphQueries
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.GraphQueries
-
- Direct Known Subclasses:
CodelessUiConnectorConfigPropertiesGraphQueriesItem
public class GraphQueries extends Object
The graph query to show the current data status.
-
-
Constructor Summary
Constructors Constructor Description GraphQueries()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
baseQuery()
Get the baseQuery property: The base query for the graph.String
legend()
Get the legend property: The legend for the graph.String
metricName()
Get the metricName property: the metric that the query is checking.void
validate()
Validates the instance.GraphQueries
withBaseQuery(String baseQuery)
Set the baseQuery property: The base query for the graph.GraphQueries
withLegend(String legend)
Set the legend property: The legend for the graph.GraphQueries
withMetricName(String metricName)
Set the metricName property: the metric that the query is checking.
-
-
-
Method Detail
-
metricName
public String metricName()
Get the metricName property: the metric that the query is checking.- Returns:
- the metricName value.
-
withMetricName
public GraphQueries withMetricName(String metricName)
Set the metricName property: the metric that the query is checking.- Parameters:
metricName
- the metricName value to set.- Returns:
- the GraphQueries object itself.
-
legend
public String legend()
Get the legend property: The legend for the graph.- Returns:
- the legend value.
-
withLegend
public GraphQueries withLegend(String legend)
Set the legend property: The legend for the graph.- Parameters:
legend
- the legend value to set.- Returns:
- the GraphQueries object itself.
-
baseQuery
public String baseQuery()
Get the baseQuery property: The base query for the graph.- Returns:
- the baseQuery value.
-
withBaseQuery
public GraphQueries withBaseQuery(String baseQuery)
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.
-
-