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

com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDataLabelOptions.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateDataLabelContent
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateDataLabelOverlap
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateDataLabelPosition
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property categoryLabelVisibility Determines the visibility of the category field labels.
 * @property dataLabelTypes The option that determines the data label type.
 * @property labelColor Determines the color of the data labels.
 * @property labelContent Determines the content of the data labels.
 * @property labelFontConfiguration Determines the font configuration of the data labels.
 * @property measureLabelVisibility Determines the visibility of the measure field labels.
 * @property overlap Determines whether overlap is enabled or disabled for the data labels.
 * @property position Determines the position of the data labels.
 * @property totalsVisibility Determines the visibility of the total.
 * @property visibility Determines the visibility of the data labels.
 */
public data class TemplateDataLabelOptions(
    public val categoryLabelVisibility: TemplateVisibility? = null,
    public val dataLabelTypes: List? = null,
    public val labelColor: String? = null,
    public val labelContent: TemplateDataLabelContent? = null,
    public val labelFontConfiguration: TemplateFontConfiguration? = null,
    public val measureLabelVisibility: TemplateVisibility? = null,
    public val overlap: TemplateDataLabelOverlap? = null,
    public val position: TemplateDataLabelPosition? = null,
    public val totalsVisibility: TemplateVisibility? = null,
    public val visibility: TemplateVisibility? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateDataLabelOptions): TemplateDataLabelOptions = TemplateDataLabelOptions(
            categoryLabelVisibility = javaType.categoryLabelVisibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
            dataLabelTypes = javaType.dataLabelTypes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDataLabelType.Companion.toKotlin(args0)
                })
            }),
            labelColor = javaType.labelColor().map({ args0 -> args0 }).orElse(null),
            labelContent = javaType.labelContent().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateDataLabelContent.Companion.toKotlin(args0)
                })
            }).orElse(null),
            labelFontConfiguration = javaType.labelFontConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateFontConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            measureLabelVisibility = javaType.measureLabelVisibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
            overlap = javaType.overlap().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateDataLabelOverlap.Companion.toKotlin(args0)
                })
            }).orElse(null),
            position = javaType.position().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateDataLabelPosition.Companion.toKotlin(args0)
                })
            }).orElse(null),
            totalsVisibility = javaType.totalsVisibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
            visibility = javaType.visibility().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateVisibility.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy