Class ForecastAggregation
java.lang.Object
com.azure.resourcemanager.costmanagement.models.ForecastAggregation
The aggregation expression to be used in the forecast.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfunction()Get the function property: The name of the aggregation function to use.name()Get the name property: The name of the column to aggregate.voidvalidate()Validates the instance.withFunction(FunctionType function) Set the function property: The name of the aggregation function to use.withName(FunctionName name) Set the name property: The name of the column to aggregate.
-
Constructor Details
-
ForecastAggregation
public ForecastAggregation()Creates an instance of ForecastAggregation class.
-
-
Method Details
-
name
Get the name property: The name of the column to aggregate.- Returns:
- the name value.
-
withName
Set the name property: The name of the column to aggregate.- Parameters:
name- the name value to set.- Returns:
- the ForecastAggregation object itself.
-
function
Get the function property: The name of the aggregation function to use.- Returns:
- the function value.
-
withFunction
Set the function property: The name of the aggregation function to use.- Parameters:
function- the function value to set.- Returns:
- the ForecastAggregation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-