Class ForecastDatasetConfiguration
java.lang.Object
com.azure.resourcemanager.costmanagement.models.ForecastDatasetConfiguration
The configuration of dataset in the forecast.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ForecastDatasetConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptioncolumns()
Get the columns property: Array of column names to be included in the forecast.void
validate()
Validates the instance.withColumns
(List<String> columns) Set the columns property: Array of column names to be included in the forecast.
-
Constructor Details
-
ForecastDatasetConfiguration
public ForecastDatasetConfiguration()Creates an instance of ForecastDatasetConfiguration class.
-
-
Method Details
-
columns
Get the columns property: Array of column names to be included in the forecast. Any valid forecast column name is allowed. If not provided, then forecast includes all columns.- Returns:
- the columns value.
-
withColumns
Set the columns property: Array of column names to be included in the forecast. Any valid forecast column name is allowed. If not provided, then forecast includes all columns.- Parameters:
columns
- the columns value to set.- Returns:
- the ForecastDatasetConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-