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

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

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

    private var numericFormatConfiguration: Output? = null

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy