Class QueryResultInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.costmanagement.models.CostManagementResource
com.azure.resourcemanager.costmanagement.fluent.models.QueryResultInner
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.void
validate()
Validates the instance.withColumns
(List<QueryColumn> columns) Set the columns property: Array of columns.withLocation
(String location) 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.resourcemanager.costmanagement.models.CostManagementResource
etag, sku
Methods inherited from class com.azure.core.management.Resource
location, tags
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
-
withLocation
- Overrides:
withLocation
in classCostManagementResource
-
withTags
- Overrides:
withTags
in classCostManagementResource
-
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.- Overrides:
validate
in classCostManagementResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-