
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardNumberDisplayFormatConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardNumberScale
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 DashboardNumberDisplayFormatConfiguration(
public val decimalPlacesConfiguration: DashboardDecimalPlacesConfiguration? = null,
public val negativeValueConfiguration: DashboardNegativeValueConfiguration? = null,
public val nullValueFormatConfiguration: DashboardNullValueFormatConfiguration? = null,
public val numberScale: DashboardNumberScale? = null,
public val prefix: String? = null,
public val separatorConfiguration: DashboardNumericSeparatorConfiguration? = null,
public val suffix: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardNumberDisplayFormatConfiguration): DashboardNumberDisplayFormatConfiguration = DashboardNumberDisplayFormatConfiguration(
decimalPlacesConfiguration = javaType.decimalPlacesConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardDecimalPlacesConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
negativeValueConfiguration = javaType.negativeValueConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardNegativeValueConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
nullValueFormatConfiguration = javaType.nullValueFormatConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardNullValueFormatConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
numberScale = javaType.numberScale().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardNumberScale.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.DashboardNumericSeparatorConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
suffix = javaType.suffix().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy