Class QueryResultInner
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioncolumns()
Get the columns property: Array of columns.nextLink()
Get the nextLink property: The link (url) to the next page of results.rows()
Get the rows property: Array of rows.tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.withColumns
(List<QueryColumn> columns) Set the columns property: Array of columns.withNextLink
(String nextLink) Set the nextLink property: The link (url) to the next page of results.Set the rows property: Array of rows.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
QueryResultInner
public QueryResultInner()Creates an instance of QueryResultInner class.
-
-
Method Details
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
nextLink
Get the nextLink property: The link (url) to the next page of results.- Returns:
- the nextLink value.
-
withNextLink
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
Get the columns property: Array of columns.- Returns:
- the columns value.
-
withColumns
Set the columns property: Array of columns.- Parameters:
columns
- the columns value to set.- Returns:
- the QueryResultInner object itself.
-
rows
Get the rows property: Array of rows.- Returns:
- the rows value.
-
withRows
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.
-