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

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

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

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

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

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

    private var numericFormatConfiguration: Output? = null

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy