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

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

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisWordCloudAggregatedFieldWellsArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property groupBy The group by field well of a word cloud. Values are grouped by group by fields.
 * @property size The size field well of a word cloud. Values are aggregated based on group by fields.
 */
public data class AnalysisWordCloudAggregatedFieldWellsArgs(
    public val groupBy: Output>? = null,
    public val size: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisWordCloudAggregatedFieldWellsArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisWordCloudAggregatedFieldWellsArgs.builder()
            .groupBy(
                groupBy?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .size(
                size?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    private var size: Output>? = null

    /**
     * @param value The group by field well of a word cloud. Values are grouped by group by fields.
     */
    @JvmName("wtbvgbgeqejggiso")
    public suspend fun groupBy(`value`: Output>) {
        this.groupBy = value
    }

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

    /**
     * @param values The group by field well of a word cloud. Values are grouped by group by fields.
     */
    @JvmName("llmwouhbrkaldwfl")
    public suspend fun groupBy(values: List>) {
        this.groupBy = Output.all(values)
    }

    /**
     * @param value The size field well of a word cloud. Values are aggregated based on group by fields.
     */
    @JvmName("xwqxipqtqhgnfbvr")
    public suspend fun size(`value`: Output>) {
        this.size = value
    }

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

    /**
     * @param values The size field well of a word cloud. Values are aggregated based on group by fields.
     */
    @JvmName("aigbptyoittfawdd")
    public suspend fun size(values: List>) {
        this.size = Output.all(values)
    }

    /**
     * @param value The group by field well of a word cloud. Values are grouped by group by fields.
     */
    @JvmName("jiqanrtcgpakujjt")
    public suspend fun groupBy(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.groupBy = mapped
    }

    /**
     * @param argument The group by field well of a word cloud. Values are grouped by group by fields.
     */
    @JvmName("jtqhjktdujgtiqyv")
    public suspend fun groupBy(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.groupBy = mapped
    }

    /**
     * @param argument The group by field well of a word cloud. Values are grouped by group by fields.
     */
    @JvmName("bitlautdtwdotdbw")
    public suspend fun groupBy(vararg argument: suspend AnalysisDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.groupBy = mapped
    }

    /**
     * @param argument The group by field well of a word cloud. Values are grouped by group by fields.
     */
    @JvmName("ouxcqeneehwlddty")
    public suspend fun groupBy(argument: suspend AnalysisDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisDimensionFieldArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.groupBy = mapped
    }

    /**
     * @param values The group by field well of a word cloud. Values are grouped by group by fields.
     */
    @JvmName("xidlrmrifjsokbab")
    public suspend fun groupBy(vararg values: AnalysisDimensionFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.groupBy = mapped
    }

    /**
     * @param value The size field well of a word cloud. Values are aggregated based on group by fields.
     */
    @JvmName("mpdadcjshxkqdaau")
    public suspend fun size(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.size = mapped
    }

    /**
     * @param argument The size field well of a word cloud. Values are aggregated based on group by fields.
     */
    @JvmName("vxbaatbdejfoafut")
    public suspend fun size(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisMeasureFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.size = mapped
    }

    /**
     * @param argument The size field well of a word cloud. Values are aggregated based on group by fields.
     */
    @JvmName("xihoftobpbbhosks")
    public suspend fun size(vararg argument: suspend AnalysisMeasureFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisMeasureFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.size = mapped
    }

    /**
     * @param argument The size field well of a word cloud. Values are aggregated based on group by fields.
     */
    @JvmName("vmybcciinrofgqkx")
    public suspend fun size(argument: suspend AnalysisMeasureFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisMeasureFieldArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.size = mapped
    }

    /**
     * @param values The size field well of a word cloud. Values are aggregated based on group by fields.
     */
    @JvmName("wpkkmrnlolqjfupq")
    public suspend fun size(vararg values: AnalysisMeasureFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.size = mapped
    }

    internal fun build(): AnalysisWordCloudAggregatedFieldWellsArgs =
        AnalysisWordCloudAggregatedFieldWellsArgs(
            groupBy = groupBy,
            size = size,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy