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 Details

    • QueryStatisticsInner

      public QueryStatisticsInner()
      Creates an instance of QueryStatisticsInner class.
  • Method Details

    • databaseName

      public String databaseName()
      Get the databaseName property: Database name of the database in which this query was executed.
      Returns:
      the databaseName value.
    • queryId

      public String queryId()
      Get the queryId property: Unique query id (unique within one database).
      Returns:
      the queryId value.
    • startTime

      public String startTime()
      Get the startTime property: The start time for the metric (ISO-8601 format).
      Returns:
      the startTime value.
    • endTime

      public String endTime()
      Get the endTime property: The end time for the metric (ISO-8601 format).
      Returns:
      the endTime value.
    • intervals

      public List<QueryMetricInterval> intervals()
      Get the intervals property: List of intervals with appropriate metric data.
      Returns:
      the intervals value.
    • withIntervals

      public QueryStatisticsInner withIntervals(List<QueryMetricInterval> intervals)
      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.