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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateCurrencyDisplayFormatConfigurationArgs.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.TemplateCurrencyDisplayFormatConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateNumberScale
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property decimalPlacesConfiguration The option that determines the decimal places configuration.
 * @property negativeValueConfiguration The options that determine the negative value configuration.
 * @property nullValueFormatConfiguration The options that determine the null value format configuration.
 * @property numberScale Determines the number scale value for the currency format.
 * @property prefix Determines the prefix value of the currency format.
 * @property separatorConfiguration The options that determine the numeric separator configuration.
 * @property suffix Determines the suffix value of the currency format.
 * @property symbol Determines the symbol for the currency format.
 */
public data class TemplateCurrencyDisplayFormatConfigurationArgs(
    public val decimalPlacesConfiguration: Output? = null,
    public val negativeValueConfiguration: Output? = null,
    public val nullValueFormatConfiguration: Output? = null,
    public val numberScale: Output? = null,
    public val prefix: Output? = null,
    public val separatorConfiguration: Output? = null,
    public val suffix: Output? = null,
    public val symbol: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateCurrencyDisplayFormatConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateCurrencyDisplayFormatConfigurationArgs.builder()
            .decimalPlacesConfiguration(
                decimalPlacesConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .negativeValueConfiguration(
                negativeValueConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .nullValueFormatConfiguration(
                nullValueFormatConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .numberScale(numberScale?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .prefix(prefix?.applyValue({ args0 -> args0 }))
            .separatorConfiguration(
                separatorConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .suffix(suffix?.applyValue({ args0 -> args0 }))
            .symbol(symbol?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TemplateCurrencyDisplayFormatConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateCurrencyDisplayFormatConfigurationArgsBuilder internal constructor() {
    private var decimalPlacesConfiguration: Output? = null

    private var negativeValueConfiguration: Output? = null

    private var nullValueFormatConfiguration: Output? = null

    private var numberScale: Output? = null

    private var prefix: Output? = null

    private var separatorConfiguration: Output? = null

    private var suffix: Output? = null

    private var symbol: Output? = null

    /**
     * @param value The option that determines the decimal places configuration.
     */
    @JvmName("qmodkxjokgntjukv")
    public suspend fun decimalPlacesConfiguration(`value`: Output) {
        this.decimalPlacesConfiguration = value
    }

    /**
     * @param value The options that determine the negative value configuration.
     */
    @JvmName("pmxudtihifcgrgfa")
    public suspend fun negativeValueConfiguration(`value`: Output) {
        this.negativeValueConfiguration = value
    }

    /**
     * @param value The options that determine the null value format configuration.
     */
    @JvmName("giemdnyeflbibuuk")
    public suspend fun nullValueFormatConfiguration(`value`: Output) {
        this.nullValueFormatConfiguration = value
    }

    /**
     * @param value Determines the number scale value for the currency format.
     */
    @JvmName("hrliruyrtpkbrbnu")
    public suspend fun numberScale(`value`: Output) {
        this.numberScale = value
    }

    /**
     * @param value Determines the prefix value of the currency format.
     */
    @JvmName("utyddnwmbimtulib")
    public suspend fun prefix(`value`: Output) {
        this.prefix = value
    }

    /**
     * @param value The options that determine the numeric separator configuration.
     */
    @JvmName("fvahxcrdbqsvihdb")
    public suspend fun separatorConfiguration(`value`: Output) {
        this.separatorConfiguration = value
    }

    /**
     * @param value Determines the suffix value of the currency format.
     */
    @JvmName("xqqvnttmiqysptbc")
    public suspend fun suffix(`value`: Output) {
        this.suffix = value
    }

    /**
     * @param value Determines the symbol for the currency format.
     */
    @JvmName("fsxwlgoujntvaamd")
    public suspend fun symbol(`value`: Output) {
        this.symbol = value
    }

    /**
     * @param value The option that determines the decimal places configuration.
     */
    @JvmName("ekyyovspwvijsyuf")
    public suspend fun decimalPlacesConfiguration(`value`: TemplateDecimalPlacesConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.decimalPlacesConfiguration = mapped
    }

    /**
     * @param argument The option that determines the decimal places configuration.
     */
    @JvmName("wxdfnhcacvaugmmk")
    public suspend fun decimalPlacesConfiguration(argument: suspend TemplateDecimalPlacesConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateDecimalPlacesConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.decimalPlacesConfiguration = mapped
    }

    /**
     * @param value The options that determine the negative value configuration.
     */
    @JvmName("kuexnlovcfjncgfk")
    public suspend fun negativeValueConfiguration(`value`: TemplateNegativeValueConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.negativeValueConfiguration = mapped
    }

    /**
     * @param argument The options that determine the negative value configuration.
     */
    @JvmName("gennvkkfcqorxlym")
    public suspend fun negativeValueConfiguration(argument: suspend TemplateNegativeValueConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateNegativeValueConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.negativeValueConfiguration = mapped
    }

    /**
     * @param value The options that determine the null value format configuration.
     */
    @JvmName("vdgkeqopotcntrou")
    public suspend fun nullValueFormatConfiguration(`value`: TemplateNullValueFormatConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.nullValueFormatConfiguration = mapped
    }

    /**
     * @param argument The options that determine the null value format configuration.
     */
    @JvmName("qxwwfavlsmxfdysi")
    public suspend fun nullValueFormatConfiguration(argument: suspend TemplateNullValueFormatConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateNullValueFormatConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.nullValueFormatConfiguration = mapped
    }

    /**
     * @param value Determines the number scale value for the currency format.
     */
    @JvmName("odeudubqyslumisi")
    public suspend fun numberScale(`value`: TemplateNumberScale?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.numberScale = mapped
    }

    /**
     * @param value Determines the prefix value of the currency format.
     */
    @JvmName("uidbuovneqivarsq")
    public suspend fun prefix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.prefix = mapped
    }

    /**
     * @param value The options that determine the numeric separator configuration.
     */
    @JvmName("dospgtligmeappla")
    public suspend fun separatorConfiguration(`value`: TemplateNumericSeparatorConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.separatorConfiguration = mapped
    }

    /**
     * @param argument The options that determine the numeric separator configuration.
     */
    @JvmName("ouxqhkiaeaolwkno")
    public suspend fun separatorConfiguration(argument: suspend TemplateNumericSeparatorConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateNumericSeparatorConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.separatorConfiguration = mapped
    }

    /**
     * @param value Determines the suffix value of the currency format.
     */
    @JvmName("pugpruqmlqirrsnc")
    public suspend fun suffix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.suffix = mapped
    }

    /**
     * @param value Determines the symbol for the currency format.
     */
    @JvmName("qfwfemhiqbggwepj")
    public suspend fun symbol(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.symbol = mapped
    }

    internal fun build(): TemplateCurrencyDisplayFormatConfigurationArgs =
        TemplateCurrencyDisplayFormatConfigurationArgs(
            decimalPlacesConfiguration = decimalPlacesConfiguration,
            negativeValueConfiguration = negativeValueConfiguration,
            nullValueFormatConfiguration = nullValueFormatConfiguration,
            numberScale = numberScale,
            prefix = prefix,
            separatorConfiguration = separatorConfiguration,
            suffix = suffix,
            symbol = symbol,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy