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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.quicksight.kotlin.inputs

import com.pulumi.aws.quicksight.inputs.DataSetFieldFolderArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property columns An array of column names to add to the folder. A column can only be in one folder.
 * @property description Field folder description.
 * @property fieldFoldersId Key of the field folder map.
 */
public data class DataSetFieldFolderArgs(
    public val columns: Output>? = null,
    public val description: Output? = null,
    public val fieldFoldersId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.quicksight.inputs.DataSetFieldFolderArgs =
        com.pulumi.aws.quicksight.inputs.DataSetFieldFolderArgs.builder()
            .columns(columns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .description(description?.applyValue({ args0 -> args0 }))
            .fieldFoldersId(fieldFoldersId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataSetFieldFolderArgs].
 */
@PulumiTagMarker
public class DataSetFieldFolderArgsBuilder internal constructor() {
    private var columns: Output>? = null

    private var description: Output? = null

    private var fieldFoldersId: Output? = null

    /**
     * @param value An array of column names to add to the folder. A column can only be in one folder.
     */
    @JvmName("xwxiaaekstgeifxu")
    public suspend fun columns(`value`: Output>) {
        this.columns = value
    }

    @JvmName("belaejkmfeebphag")
    public suspend fun columns(vararg values: Output) {
        this.columns = Output.all(values.asList())
    }

    /**
     * @param values An array of column names to add to the folder. A column can only be in one folder.
     */
    @JvmName("riyglqkgpkjdkodt")
    public suspend fun columns(values: List>) {
        this.columns = Output.all(values)
    }

    /**
     * @param value Field folder description.
     */
    @JvmName("rqaqyfdsqaeoghsx")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Key of the field folder map.
     */
    @JvmName("pygciqtvalcllenq")
    public suspend fun fieldFoldersId(`value`: Output) {
        this.fieldFoldersId = value
    }

    /**
     * @param value An array of column names to add to the folder. A column can only be in one folder.
     */
    @JvmName("uqbvhhiptygnqrhk")
    public suspend fun columns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.columns = mapped
    }

    /**
     * @param values An array of column names to add to the folder. A column can only be in one folder.
     */
    @JvmName("iudexefmluuytssl")
    public suspend fun columns(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.columns = mapped
    }

    /**
     * @param value Field folder description.
     */
    @JvmName("odhimtudoenxwwrs")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Key of the field folder map.
     */
    @JvmName("utgooccwwyejvsll")
    public suspend fun fieldFoldersId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fieldFoldersId = mapped
    }

    internal fun build(): DataSetFieldFolderArgs = DataSetFieldFolderArgs(
        columns = columns,
        description = description,
        fieldFoldersId = fieldFoldersId ?: throw PulumiNullFieldException("fieldFoldersId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy