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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisColumnConfigurationArgs.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.AnalysisColumnConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisColumnRole
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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property colorsConfiguration The color configurations of the column.
 * @property column The column.
 * @property formatConfiguration The format configuration of a column.
 * @property role The role of the column.
 */
public data class AnalysisColumnConfigurationArgs(
    public val colorsConfiguration: Output? = null,
    public val column: Output,
    public val formatConfiguration: Output? = null,
    public val role: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisColumnConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisColumnConfigurationArgs.builder()
            .colorsConfiguration(
                colorsConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .column(column.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .formatConfiguration(
                formatConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .role(role?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AnalysisColumnConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisColumnConfigurationArgsBuilder internal constructor() {
    private var colorsConfiguration: Output? = null

    private var column: Output? = null

    private var formatConfiguration: Output? = null

    private var role: Output? = null

    /**
     * @param value The color configurations of the column.
     */
    @JvmName("eadmpaantilcalcq")
    public suspend fun colorsConfiguration(`value`: Output) {
        this.colorsConfiguration = value
    }

    /**
     * @param value The column.
     */
    @JvmName("kciitfmqmpkxbdeb")
    public suspend fun column(`value`: Output) {
        this.column = value
    }

    /**
     * @param value The format configuration of a column.
     */
    @JvmName("uxhgmlscgdwxfytf")
    public suspend fun formatConfiguration(`value`: Output) {
        this.formatConfiguration = value
    }

    /**
     * @param value The role of the column.
     */
    @JvmName("vrkjvqlvxtpxwdmb")
    public suspend fun role(`value`: Output) {
        this.role = value
    }

    /**
     * @param value The color configurations of the column.
     */
    @JvmName("yiapnnyttojttlpi")
    public suspend fun colorsConfiguration(`value`: AnalysisColorsConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.colorsConfiguration = mapped
    }

    /**
     * @param argument The color configurations of the column.
     */
    @JvmName("tdhjnpnishfovvvb")
    public suspend fun colorsConfiguration(argument: suspend AnalysisColorsConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisColorsConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.colorsConfiguration = mapped
    }

    /**
     * @param value The column.
     */
    @JvmName("cbrhmcapndybwlfu")
    public suspend fun column(`value`: AnalysisColumnIdentifierArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.column = mapped
    }

    /**
     * @param argument The column.
     */
    @JvmName("lixbxjyvkeqdauak")
    public suspend fun column(argument: suspend AnalysisColumnIdentifierArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisColumnIdentifierArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.column = mapped
    }

    /**
     * @param value The format configuration of a column.
     */
    @JvmName("oqexdpsuopyitbhc")
    public suspend fun formatConfiguration(`value`: AnalysisFormatConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.formatConfiguration = mapped
    }

    /**
     * @param argument The format configuration of a column.
     */
    @JvmName("mnhynjialpdvlink")
    public suspend fun formatConfiguration(argument: suspend AnalysisFormatConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisFormatConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.formatConfiguration = mapped
    }

    /**
     * @param value The role of the column.
     */
    @JvmName("weljalqqtyteagoh")
    public suspend fun role(`value`: AnalysisColumnRole?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.role = mapped
    }

    internal fun build(): AnalysisColumnConfigurationArgs = AnalysisColumnConfigurationArgs(
        colorsConfiguration = colorsConfiguration,
        column = column ?: throw PulumiNullFieldException("column"),
        formatConfiguration = formatConfiguration,
        role = role,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy