java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.costmanagement.fluent.models.QueryResultInner

public final class QueryResultInner extends com.azure.core.management.ProxyResource
Result of query. It contains all columns listed under groupings and aggregation.
  • Constructor Details

    • QueryResultInner

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

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • nextLink

      public String nextLink()
      Get the nextLink property: The link (url) to the next page of results.
      Returns:
      the nextLink value.
    • withNextLink

      public QueryResultInner withNextLink(String nextLink)
      Set the nextLink property: The link (url) to the next page of results.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the QueryResultInner object itself.
    • columns

      public List<QueryColumn> columns()
      Get the columns property: Array of columns.
      Returns:
      the columns value.
    • withColumns

      public QueryResultInner withColumns(List<QueryColumn> columns)
      Set the columns property: Array of columns.
      Parameters:
      columns - the columns value to set.
      Returns:
      the QueryResultInner object itself.
    • rows

      public List<List<Object>> rows()
      Get the rows property: Array of rows.
      Returns:
      the rows value.
    • withRows

      public QueryResultInner withRows(List<List<Object>> rows)
      Set the rows property: Array of rows.
      Parameters:
      rows - the rows value to set.
      Returns:
      the QueryResultInner object itself.
    • validate

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