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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardWordCloudChartConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.DashboardWordCloudChartConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property categoryLabelOptions The label options (label text, label visibility, and sort icon visibility) for the word cloud category.
 * @property fieldWells The field wells of the visual.
 * @property sortConfiguration The sort configuration of a word cloud visual.
 * @property wordCloudOptions The options for a word cloud visual.
 */
public data class DashboardWordCloudChartConfigurationArgs(
    public val categoryLabelOptions: Output? = null,
    public val fieldWells: Output? = null,
    public val sortConfiguration: Output? = null,
    public val wordCloudOptions: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardWordCloudChartConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardWordCloudChartConfigurationArgs.builder()
            .categoryLabelOptions(
                categoryLabelOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .sortConfiguration(sortConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .wordCloudOptions(
                wordCloudOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [DashboardWordCloudChartConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardWordCloudChartConfigurationArgsBuilder internal constructor() {
    private var categoryLabelOptions: Output? = null

    private var fieldWells: Output? = null

    private var sortConfiguration: Output? = null

    private var wordCloudOptions: Output? = null

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) for the word cloud category.
     */
    @JvmName("dttwxoyvnxlmsnip")
    public suspend fun categoryLabelOptions(`value`: Output) {
        this.categoryLabelOptions = value
    }

    /**
     * @param value The field wells of the visual.
     */
    @JvmName("pplimickpxbhtdls")
    public suspend fun fieldWells(`value`: Output) {
        this.fieldWells = value
    }

    /**
     * @param value The sort configuration of a word cloud visual.
     */
    @JvmName("mjunabajbmcdegrm")
    public suspend fun sortConfiguration(`value`: Output) {
        this.sortConfiguration = value
    }

    /**
     * @param value The options for a word cloud visual.
     */
    @JvmName("yhxgaowexxvphudm")
    public suspend fun wordCloudOptions(`value`: Output) {
        this.wordCloudOptions = value
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) for the word cloud category.
     */
    @JvmName("hwpojelabchpsnvt")
    public suspend fun categoryLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.categoryLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility, and sort icon visibility) for the word cloud category.
     */
    @JvmName("oenmavjlhucfrvsa")
    public suspend fun categoryLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryLabelOptions = mapped
    }

    /**
     * @param value The field wells of the visual.
     */
    @JvmName("wdtxttkhxkbdihuo")
    public suspend fun fieldWells(`value`: DashboardWordCloudFieldWellsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldWells = mapped
    }

    /**
     * @param argument The field wells of the visual.
     */
    @JvmName("iuycotsbfowcpknl")
    public suspend fun fieldWells(argument: suspend DashboardWordCloudFieldWellsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardWordCloudFieldWellsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fieldWells = mapped
    }

    /**
     * @param value The sort configuration of a word cloud visual.
     */
    @JvmName("sstyypbspytnvdeg")
    public suspend fun sortConfiguration(`value`: DashboardWordCloudSortConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sortConfiguration = mapped
    }

    /**
     * @param argument The sort configuration of a word cloud visual.
     */
    @JvmName("goopsysbyehecupn")
    public suspend fun sortConfiguration(argument: suspend DashboardWordCloudSortConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardWordCloudSortConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.sortConfiguration = mapped
    }

    /**
     * @param value The options for a word cloud visual.
     */
    @JvmName("yuprcwurdhwglybd")
    public suspend fun wordCloudOptions(`value`: DashboardWordCloudOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.wordCloudOptions = mapped
    }

    /**
     * @param argument The options for a word cloud visual.
     */
    @JvmName("glbhqhnjidmqqrvk")
    public suspend fun wordCloudOptions(argument: suspend DashboardWordCloudOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardWordCloudOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.wordCloudOptions = mapped
    }

    internal fun build(): DashboardWordCloudChartConfigurationArgs =
        DashboardWordCloudChartConfigurationArgs(
            categoryLabelOptions = categoryLabelOptions,
            fieldWells = fieldWells,
            sortConfiguration = sortConfiguration,
            wordCloudOptions = wordCloudOptions,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy