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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisNumericSeparatorConfigurationArgs.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.AnalysisNumericSeparatorConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisNumericSeparatorSymbol
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 AnalysisNumericSeparatorConfigurationArgs(
    public val decimalSeparator: Output? = null,
    public val thousandsSeparator: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisNumericSeparatorConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisNumericSeparatorConfigurationArgs.builder()
            .decimalSeparator(decimalSeparator?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .thousandsSeparator(
                thousandsSeparator?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

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

    private var thousandsSeparator: Output? = null

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy