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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateWordCloudChartConfigurationArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.TemplateWordCloudChartConfigurationArgs.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 TemplateWordCloudChartConfigurationArgs(
    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.TemplateWordCloudChartConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateWordCloudChartConfigurationArgs.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 [TemplateWordCloudChartConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateWordCloudChartConfigurationArgsBuilder 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("nrvrqosxfgttvocs")
    public suspend fun categoryLabelOptions(`value`: Output) {
        this.categoryLabelOptions = value
    }

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

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

    /**
     * @param value The options for a word cloud visual.
     */
    @JvmName("vjtunecdelrvhgyd")
    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("htuiemnaklqdlnld")
    public suspend fun categoryLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        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("mocpjqowowrhtdkr")
    public suspend fun categoryLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryLabelOptions = mapped
    }

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

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy