Class TopQueriesInner

java.lang.Object
com.azure.resourcemanager.sql.fluent.models.TopQueriesInner

public final class TopQueriesInner extends Object
The TopQueries model.
  • Constructor Details

    • TopQueriesInner

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

    • numberOfQueries

      public Integer numberOfQueries()
      Get the numberOfQueries property: Requested number of top queries.
      Returns:
      the numberOfQueries value.
    • aggregationFunction

      public String aggregationFunction()
      Get the aggregationFunction property: Aggregation function used to calculate query metrics.
      Returns:
      the aggregationFunction value.
    • observationMetric

      public String observationMetric()
      Get the observationMetric property: Metric used to rank queries.
      Returns:
      the observationMetric value.
    • intervalType

      public QueryTimeGrainType intervalType()
      Get the intervalType property: Interval type (length).
      Returns:
      the intervalType 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.
    • queries

      public List<QueryStatisticsProperties> queries()
      Get the queries property: List of top resource consuming queries with appropriate metric data.
      Returns:
      the queries value.
    • withQueries

      public TopQueriesInner withQueries(List<QueryStatisticsProperties> queries)
      Set the queries property: List of top resource consuming queries with appropriate metric data.
      Parameters:
      queries - the queries value to set.
      Returns:
      the TopQueriesInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.