Class QueryDatasetConfiguration

java.lang.Object
com.azure.resourcemanager.costmanagement.models.QueryDatasetConfiguration

public final class QueryDatasetConfiguration extends Object
The configuration of dataset in the query.
  • Constructor Details

    • QueryDatasetConfiguration

      public QueryDatasetConfiguration()
      Creates an instance of QueryDatasetConfiguration class.
  • Method Details

    • columns

      public List<String> 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

      public QueryDatasetConfiguration withColumns(List<String> columns)
      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.