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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardNumericFormatConfigurationArgs.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 currencyDisplayFormatConfiguration The options that determine the currency display format configuration.
 * @property numberDisplayFormatConfiguration The options that determine the number display format configuration.
 * @property percentageDisplayFormatConfiguration The options that determine the percentage display format configuration.
 */
public data class DashboardNumericFormatConfigurationArgs(
    public val currencyDisplayFormatConfiguration: Output? = null,
    public val numberDisplayFormatConfiguration: Output? = null,
    public val percentageDisplayFormatConfiguration: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardNumericFormatConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardNumericFormatConfigurationArgs.builder()
            .currencyDisplayFormatConfiguration(
                currencyDisplayFormatConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .numberDisplayFormatConfiguration(
                numberDisplayFormatConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .percentageDisplayFormatConfiguration(
                percentageDisplayFormatConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            ).build()
}

/**
 * Builder for [DashboardNumericFormatConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardNumericFormatConfigurationArgsBuilder internal constructor() {
    private var currencyDisplayFormatConfiguration:
        Output? = null

    private var numberDisplayFormatConfiguration:
        Output? = null

    private var percentageDisplayFormatConfiguration:
        Output? = null

    /**
     * @param value The options that determine the currency display format configuration.
     */
    @JvmName("uovyxyrqwkfyvdih")
    public suspend fun currencyDisplayFormatConfiguration(`value`: Output) {
        this.currencyDisplayFormatConfiguration = value
    }

    /**
     * @param value The options that determine the number display format configuration.
     */
    @JvmName("lxrsqnldmkjpenas")
    public suspend fun numberDisplayFormatConfiguration(`value`: Output) {
        this.numberDisplayFormatConfiguration = value
    }

    /**
     * @param value The options that determine the percentage display format configuration.
     */
    @JvmName("ahweowmlchfsiymq")
    public suspend fun percentageDisplayFormatConfiguration(`value`: Output) {
        this.percentageDisplayFormatConfiguration = value
    }

    /**
     * @param value The options that determine the currency display format configuration.
     */
    @JvmName("ilgrwtmnbdiogsmy")
    public suspend fun currencyDisplayFormatConfiguration(`value`: DashboardCurrencyDisplayFormatConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.currencyDisplayFormatConfiguration = mapped
    }

    /**
     * @param argument The options that determine the currency display format configuration.
     */
    @JvmName("mgovyesgjjpqbauf")
    public suspend fun currencyDisplayFormatConfiguration(argument: suspend DashboardCurrencyDisplayFormatConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardCurrencyDisplayFormatConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.currencyDisplayFormatConfiguration = mapped
    }

    /**
     * @param value The options that determine the number display format configuration.
     */
    @JvmName("pyaqaxmwgrstdujh")
    public suspend fun numberDisplayFormatConfiguration(`value`: DashboardNumberDisplayFormatConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.numberDisplayFormatConfiguration = mapped
    }

    /**
     * @param argument The options that determine the number display format configuration.
     */
    @JvmName("kenmldggjpkmwvry")
    public suspend fun numberDisplayFormatConfiguration(argument: suspend DashboardNumberDisplayFormatConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardNumberDisplayFormatConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.numberDisplayFormatConfiguration = mapped
    }

    /**
     * @param value The options that determine the percentage display format configuration.
     */
    @JvmName("ayeitevwmvvabysh")
    public suspend fun percentageDisplayFormatConfiguration(`value`: DashboardPercentageDisplayFormatConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.percentageDisplayFormatConfiguration = mapped
    }

    /**
     * @param argument The options that determine the percentage display format configuration.
     */
    @JvmName("gyyqgxgwohbrdgch")
    public suspend fun percentageDisplayFormatConfiguration(argument: suspend DashboardPercentageDisplayFormatConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardPercentageDisplayFormatConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.percentageDisplayFormatConfiguration = mapped
    }

    internal fun build(): DashboardNumericFormatConfigurationArgs =
        DashboardNumericFormatConfigurationArgs(
            currencyDisplayFormatConfiguration = currencyDisplayFormatConfiguration,
            numberDisplayFormatConfiguration = numberDisplayFormatConfiguration,
            percentageDisplayFormatConfiguration = percentageDisplayFormatConfiguration,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy