com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateReferenceLineValueLabelConfiguration.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.TemplateReferenceLineValueLabelRelativePosition
import kotlin.Suppress
/**
*
* @property formatConfiguration The format configuration of the value label.
* @property relativePosition The relative position of the value label. Choose one of the following options:
* - `BEFORE_CUSTOM_LABEL`
* - `AFTER_CUSTOM_LABEL`
*/
public data class TemplateReferenceLineValueLabelConfiguration(
public val formatConfiguration: TemplateNumericFormatConfiguration? = null,
public val relativePosition: TemplateReferenceLineValueLabelRelativePosition? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateReferenceLineValueLabelConfiguration): TemplateReferenceLineValueLabelConfiguration = TemplateReferenceLineValueLabelConfiguration(
formatConfiguration = javaType.formatConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateNumericFormatConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
relativePosition = javaType.relativePosition().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.TemplateReferenceLineValueLabelRelativePosition.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}