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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardStringFormatConfigurationArgs.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 nullValueFormatConfiguration The options that determine the null value format configuration.
 * @property numericFormatConfiguration The formatting configuration for numeric strings.
 */
public data class DashboardStringFormatConfigurationArgs(
    public val nullValueFormatConfiguration: Output? =
        null,
    public val numericFormatConfiguration: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardStringFormatConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardStringFormatConfigurationArgs.builder()
            .nullValueFormatConfiguration(
                nullValueFormatConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .numericFormatConfiguration(
                numericFormatConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [DashboardStringFormatConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardStringFormatConfigurationArgsBuilder internal constructor() {
    private var nullValueFormatConfiguration: Output? =
        null

    private var numericFormatConfiguration: Output? = null

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

    /**
     * @param value The formatting configuration for numeric strings.
     */
    @JvmName("stgppyruueckunmt")
    public suspend fun numericFormatConfiguration(`value`: Output) {
        this.numericFormatConfiguration = value
    }

    /**
     * @param value The options that determine the null value format configuration.
     */
    @JvmName("wmtgwblpqcpcufml")
    public suspend fun nullValueFormatConfiguration(`value`: DashboardNullValueFormatConfigurationArgs?) {
        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("jhsxgonbplrpdiny")
    public suspend fun nullValueFormatConfiguration(argument: suspend DashboardNullValueFormatConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardNullValueFormatConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.nullValueFormatConfiguration = mapped
    }

    /**
     * @param value The formatting configuration for numeric strings.
     */
    @JvmName("urcuwhtbgqoodejv")
    public suspend fun numericFormatConfiguration(`value`: DashboardNumericFormatConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.numericFormatConfiguration = mapped
    }

    /**
     * @param argument The formatting configuration for numeric strings.
     */
    @JvmName("nfmfwkolbqktfbdn")
    public suspend fun numericFormatConfiguration(argument: suspend DashboardNumericFormatConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardNumericFormatConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.numericFormatConfiguration = mapped
    }

    internal fun build(): DashboardStringFormatConfigurationArgs =
        DashboardStringFormatConfigurationArgs(
            nullValueFormatConfiguration = nullValueFormatConfiguration,
            numericFormatConfiguration = numericFormatConfiguration,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy