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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardFilledMapVisualArgs.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.DashboardFilledMapVisualArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property actions The list of custom actions that are configured for a visual.
 * @property chartConfiguration The configuration settings of the visual.
 * @property columnHierarchies The column hierarchy that is used during drill-downs and drill-ups.
 * @property conditionalFormatting The conditional formatting of a `FilledMapVisual` .
 * @property subtitle The subtitle that is displayed on the visual.
 * @property title The title that is displayed on the visual.
 * @property visualId The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..
 */
public data class DashboardFilledMapVisualArgs(
    public val actions: Output>? = null,
    public val chartConfiguration: Output? = null,
    public val columnHierarchies: Output>? = null,
    public val conditionalFormatting: Output? = null,
    public val subtitle: Output? = null,
    public val title: Output? = null,
    public val visualId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardFilledMapVisualArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardFilledMapVisualArgs.builder()
            .actions(
                actions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .chartConfiguration(
                chartConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .columnHierarchies(
                columnHierarchies?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .conditionalFormatting(
                conditionalFormatting?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .subtitle(subtitle?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .title(title?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .visualId(visualId.applyValue({ args0 -> args0 })).build()
}

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

    private var chartConfiguration: Output? = null

    private var columnHierarchies: Output>? = null

    private var conditionalFormatting: Output? = null

    private var subtitle: Output? = null

    private var title: Output? = null

    private var visualId: Output? = null

    /**
     * @param value The list of custom actions that are configured for a visual.
     */
    @JvmName("ukgwgnhprpqfgbxv")
    public suspend fun actions(`value`: Output>) {
        this.actions = value
    }

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

    /**
     * @param values The list of custom actions that are configured for a visual.
     */
    @JvmName("ojwcddxwtlpyenxg")
    public suspend fun actions(values: List>) {
        this.actions = Output.all(values)
    }

    /**
     * @param value The configuration settings of the visual.
     */
    @JvmName("ryipojkwvnowhula")
    public suspend fun chartConfiguration(`value`: Output) {
        this.chartConfiguration = value
    }

    /**
     * @param value The column hierarchy that is used during drill-downs and drill-ups.
     */
    @JvmName("hbtawhowvphqjgnr")
    public suspend fun columnHierarchies(`value`: Output>) {
        this.columnHierarchies = value
    }

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

    /**
     * @param values The column hierarchy that is used during drill-downs and drill-ups.
     */
    @JvmName("cqgpfjvxhwtitmrp")
    public suspend fun columnHierarchies(values: List>) {
        this.columnHierarchies = Output.all(values)
    }

    /**
     * @param value The conditional formatting of a `FilledMapVisual` .
     */
    @JvmName("miaiicxtopldyqui")
    public suspend fun conditionalFormatting(`value`: Output) {
        this.conditionalFormatting = value
    }

    /**
     * @param value The subtitle that is displayed on the visual.
     */
    @JvmName("iqrkiahpkvxrcsqe")
    public suspend fun subtitle(`value`: Output) {
        this.subtitle = value
    }

    /**
     * @param value The title that is displayed on the visual.
     */
    @JvmName("bndkeoimpxqlomkj")
    public suspend fun title(`value`: Output) {
        this.title = value
    }

    /**
     * @param value The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..
     */
    @JvmName("vkmeaeiadgsvkuqn")
    public suspend fun visualId(`value`: Output) {
        this.visualId = value
    }

    /**
     * @param value The list of custom actions that are configured for a visual.
     */
    @JvmName("anjmixustfiuinvk")
    public suspend fun actions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.actions = mapped
    }

    /**
     * @param argument The list of custom actions that are configured for a visual.
     */
    @JvmName("mkmgswsvnhtwlyvd")
    public suspend fun actions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardVisualCustomActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.actions = mapped
    }

    /**
     * @param argument The list of custom actions that are configured for a visual.
     */
    @JvmName("adbcndjjofgrspoi")
    public suspend fun actions(vararg argument: suspend DashboardVisualCustomActionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardVisualCustomActionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.actions = mapped
    }

    /**
     * @param argument The list of custom actions that are configured for a visual.
     */
    @JvmName("mgqkwwcvwdmgphwj")
    public suspend fun actions(argument: suspend DashboardVisualCustomActionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardVisualCustomActionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.actions = mapped
    }

    /**
     * @param values The list of custom actions that are configured for a visual.
     */
    @JvmName("hxchxygekwvlshiu")
    public suspend fun actions(vararg values: DashboardVisualCustomActionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.actions = mapped
    }

    /**
     * @param value The configuration settings of the visual.
     */
    @JvmName("xncqufufpqeqbnii")
    public suspend fun chartConfiguration(`value`: DashboardFilledMapConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.chartConfiguration = mapped
    }

    /**
     * @param argument The configuration settings of the visual.
     */
    @JvmName("eiwllmhdrkjtuyrh")
    public suspend fun chartConfiguration(argument: suspend DashboardFilledMapConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardFilledMapConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.chartConfiguration = mapped
    }

    /**
     * @param value The column hierarchy that is used during drill-downs and drill-ups.
     */
    @JvmName("jptfsjvxjxdtmuay")
    public suspend fun columnHierarchies(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.columnHierarchies = mapped
    }

    /**
     * @param argument The column hierarchy that is used during drill-downs and drill-ups.
     */
    @JvmName("gawbhctgkfiuhnah")
    public suspend fun columnHierarchies(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardColumnHierarchyArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.columnHierarchies = mapped
    }

    /**
     * @param argument The column hierarchy that is used during drill-downs and drill-ups.
     */
    @JvmName("nupcchbsbatkonaw")
    public suspend fun columnHierarchies(vararg argument: suspend DashboardColumnHierarchyArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardColumnHierarchyArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.columnHierarchies = mapped
    }

    /**
     * @param argument The column hierarchy that is used during drill-downs and drill-ups.
     */
    @JvmName("tqugmpcgputysadv")
    public suspend fun columnHierarchies(argument: suspend DashboardColumnHierarchyArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardColumnHierarchyArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.columnHierarchies = mapped
    }

    /**
     * @param values The column hierarchy that is used during drill-downs and drill-ups.
     */
    @JvmName("glixhhvhkxvgbgip")
    public suspend fun columnHierarchies(vararg values: DashboardColumnHierarchyArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.columnHierarchies = mapped
    }

    /**
     * @param value The conditional formatting of a `FilledMapVisual` .
     */
    @JvmName("fvcfciqyvqpirbua")
    public suspend fun conditionalFormatting(`value`: DashboardFilledMapConditionalFormattingArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.conditionalFormatting = mapped
    }

    /**
     * @param argument The conditional formatting of a `FilledMapVisual` .
     */
    @JvmName("acxhutbjyipnlomg")
    public suspend fun conditionalFormatting(argument: suspend DashboardFilledMapConditionalFormattingArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardFilledMapConditionalFormattingArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.conditionalFormatting = mapped
    }

    /**
     * @param value The subtitle that is displayed on the visual.
     */
    @JvmName("fnmnqgbvsjkexhxn")
    public suspend fun subtitle(`value`: DashboardVisualSubtitleLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subtitle = mapped
    }

    /**
     * @param argument The subtitle that is displayed on the visual.
     */
    @JvmName("xlgbwlnfhniifhpx")
    public suspend fun subtitle(argument: suspend DashboardVisualSubtitleLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardVisualSubtitleLabelOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.subtitle = mapped
    }

    /**
     * @param value The title that is displayed on the visual.
     */
    @JvmName("ximbrfxgkvnrmiov")
    public suspend fun title(`value`: DashboardVisualTitleLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.title = mapped
    }

    /**
     * @param argument The title that is displayed on the visual.
     */
    @JvmName("srygjepuwpwtdihu")
    public suspend fun title(argument: suspend DashboardVisualTitleLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardVisualTitleLabelOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.title = mapped
    }

    /**
     * @param value The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..
     */
    @JvmName("lwndfhrxpmmojqxm")
    public suspend fun visualId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.visualId = mapped
    }

    internal fun build(): DashboardFilledMapVisualArgs = DashboardFilledMapVisualArgs(
        actions = actions,
        chartConfiguration = chartConfiguration,
        columnHierarchies = columnHierarchies,
        conditionalFormatting = conditionalFormatting,
        subtitle = subtitle,
        title = title,
        visualId = visualId ?: throw PulumiNullFieldException("visualId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy