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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardNumericSeparatorConfigurationArgs.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.DashboardNumericSeparatorConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardNumericSeparatorSymbol
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 decimalSeparator Determines the decimal separator.
 * @property thousandsSeparator The options that determine the thousands separator configuration.
 */
public data class DashboardNumericSeparatorConfigurationArgs(
    public val decimalSeparator: Output? = null,
    public val thousandsSeparator: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardNumericSeparatorConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardNumericSeparatorConfigurationArgs.builder()
            .decimalSeparator(decimalSeparator?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .thousandsSeparator(
                thousandsSeparator?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [DashboardNumericSeparatorConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardNumericSeparatorConfigurationArgsBuilder internal constructor() {
    private var decimalSeparator: Output? = null

    private var thousandsSeparator: Output? = null

    /**
     * @param value Determines the decimal separator.
     */
    @JvmName("vqwtdswlortjsvby")
    public suspend fun decimalSeparator(`value`: Output) {
        this.decimalSeparator = value
    }

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

    /**
     * @param value Determines the decimal separator.
     */
    @JvmName("xvrvfrtbanlowkfb")
    public suspend fun decimalSeparator(`value`: DashboardNumericSeparatorSymbol?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.decimalSeparator = mapped
    }

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

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

    internal fun build(): DashboardNumericSeparatorConfigurationArgs =
        DashboardNumericSeparatorConfigurationArgs(
            decimalSeparator = decimalSeparator,
            thousandsSeparator = thousandsSeparator,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy