Class ForecastResultInner
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.ForecastResultInner
Result of forecast. 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<ForecastColumn> 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
-
ForecastResultInner
public ForecastResultInner()Creates an instance of ForecastResultInner 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 ForecastResultInner 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 ForecastResultInner 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 ForecastResultInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCostManagementResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-