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