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

com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateReferenceLineValueLabelConfiguration.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.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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy