// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.costmanagement.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The configuration of dataset in the report. */
@Fluent
public final class ReportConfigDatasetConfiguration {
    /*
     * Array of column names to be included in the report. Any valid report column name is allowed. If not provided,
     * then report includes all columns.
     */
    @JsonProperty(value = "columns")
    private List<String> columns;

    /** Creates an instance of ReportConfigDatasetConfiguration class. */
    public ReportConfigDatasetConfiguration() {
    }

    /**
     * Get the columns property: Array of column names to be included in the report. Any valid report column name is
     * allowed. If not provided, then report includes all columns.
     *
     * @return the columns value.
     */
    public List<String> columns() {
        return this.columns;
    }

    /**
     * Set the columns property: Array of column names to be included in the report. Any valid report column name is
     * allowed. If not provided, then report includes all columns.
     *
     * @param columns the columns value to set.
     * @return the ReportConfigDatasetConfiguration object itself.
     */
    public ReportConfigDatasetConfiguration withColumns(List<String> columns) {
        this.columns = columns;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
