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

com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateNumberDisplayFormatConfiguration.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.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateNumberScale
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property decimalPlacesConfiguration The option that determines the decimal places configuration.
 * @property negativeValueConfiguration The options that determine the negative value configuration.
 * @property nullValueFormatConfiguration The options that determine the null value format configuration.
 * @property numberScale Determines the number scale value of the number format.
 * @property prefix Determines the prefix value of the number format.
 * @property separatorConfiguration The options that determine the numeric separator configuration.
 * @property suffix Determines the suffix value of the number format.
 */
public data class TemplateNumberDisplayFormatConfiguration(
    public val decimalPlacesConfiguration: TemplateDecimalPlacesConfiguration? = null,
    public val negativeValueConfiguration: TemplateNegativeValueConfiguration? = null,
    public val nullValueFormatConfiguration: TemplateNullValueFormatConfiguration? = null,
    public val numberScale: TemplateNumberScale? = null,
    public val prefix: String? = null,
    public val separatorConfiguration: TemplateNumericSeparatorConfiguration? = null,
    public val suffix: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateNumberDisplayFormatConfiguration): TemplateNumberDisplayFormatConfiguration = TemplateNumberDisplayFormatConfiguration(
            decimalPlacesConfiguration = javaType.decimalPlacesConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDecimalPlacesConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            negativeValueConfiguration = javaType.negativeValueConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateNegativeValueConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            nullValueFormatConfiguration = javaType.nullValueFormatConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateNullValueFormatConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            numberScale = javaType.numberScale().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateNumberScale.Companion.toKotlin(args0)
                })
            }).orElse(null),
            prefix = javaType.prefix().map({ args0 -> args0 }).orElse(null),
            separatorConfiguration = javaType.separatorConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateNumericSeparatorConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            suffix = javaType.suffix().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy