All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.quicksight.inputs.DataSetFieldFolderArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.quicksight.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class DataSetFieldFolderArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataSetFieldFolderArgs Empty = new DataSetFieldFolderArgs();

    /**
     * An array of column names to add to the folder. A column can only be in one folder.
     * 
     */
    @Import(name="columns")
    private @Nullable Output> columns;

    /**
     * @return An array of column names to add to the folder. A column can only be in one folder.
     * 
     */
    public Optional>> columns() {
        return Optional.ofNullable(this.columns);
    }

    /**
     * Field folder description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Field folder description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Key of the field folder map.
     * 
     */
    @Import(name="fieldFoldersId", required=true)
    private Output fieldFoldersId;

    /**
     * @return Key of the field folder map.
     * 
     */
    public Output fieldFoldersId() {
        return this.fieldFoldersId;
    }

    private DataSetFieldFolderArgs() {}

    private DataSetFieldFolderArgs(DataSetFieldFolderArgs $) {
        this.columns = $.columns;
        this.description = $.description;
        this.fieldFoldersId = $.fieldFoldersId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(DataSetFieldFolderArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private DataSetFieldFolderArgs $;

        public Builder() {
            $ = new DataSetFieldFolderArgs();
        }

        public Builder(DataSetFieldFolderArgs defaults) {
            $ = new DataSetFieldFolderArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param columns An array of column names to add to the folder. A column can only be in one folder.
         * 
         * @return builder
         * 
         */
        public Builder columns(@Nullable Output> columns) {
            $.columns = columns;
            return this;
        }

        /**
         * @param columns An array of column names to add to the folder. A column can only be in one folder.
         * 
         * @return builder
         * 
         */
        public Builder columns(List columns) {
            return columns(Output.of(columns));
        }

        /**
         * @param columns An array of column names to add to the folder. A column can only be in one folder.
         * 
         * @return builder
         * 
         */
        public Builder columns(String... columns) {
            return columns(List.of(columns));
        }

        /**
         * @param description Field folder description.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Field folder description.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param fieldFoldersId Key of the field folder map.
         * 
         * @return builder
         * 
         */
        public Builder fieldFoldersId(Output fieldFoldersId) {
            $.fieldFoldersId = fieldFoldersId;
            return this;
        }

        /**
         * @param fieldFoldersId Key of the field folder map.
         * 
         * @return builder
         * 
         */
        public Builder fieldFoldersId(String fieldFoldersId) {
            return fieldFoldersId(Output.of(fieldFoldersId));
        }

        public DataSetFieldFolderArgs build() {
            if ($.fieldFoldersId == null) {
                throw new MissingRequiredPropertyException("DataSetFieldFolderArgs", "fieldFoldersId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy