Class QueryStatisticsInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.QueryStatisticsInner
public final class QueryStatisticsInner
extends com.azure.core.management.ProxyResource
The QueryStatistics model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the databaseName property: Database name of the database in which this query was executed.endTime()Get the endTime property: The end time for the metric (ISO-8601 format).Get the intervals property: List of intervals with appropriate metric data.queryId()Get the queryId property: Unique query id (unique within one database).Get the startTime property: The start time for the metric (ISO-8601 format).voidvalidate()Validates the instance.withIntervals(List<QueryMetricInterval> intervals) Set the intervals property: List of intervals with appropriate metric data.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
QueryStatisticsInner
public QueryStatisticsInner()Creates an instance of QueryStatisticsInner class.
-
-
Method Details
-
databaseName
Get the databaseName property: Database name of the database in which this query was executed.- Returns:
- the databaseName value.
-
queryId
Get the queryId property: Unique query id (unique within one database).- Returns:
- the queryId value.
-
startTime
Get the startTime property: The start time for the metric (ISO-8601 format).- Returns:
- the startTime value.
-
endTime
Get the endTime property: The end time for the metric (ISO-8601 format).- Returns:
- the endTime value.
-
intervals
Get the intervals property: List of intervals with appropriate metric data.- Returns:
- the intervals value.
-
withIntervals
Set the intervals property: List of intervals with appropriate metric data.- Parameters:
intervals- the intervals value to set.- Returns:
- the QueryStatisticsInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-