
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateDataLabelOptionsArgs.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.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateDataLabelOptionsArgs.builder
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 com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 TemplateDataLabelOptionsArgs(
public val categoryLabelVisibility: Output? = null,
public val dataLabelTypes: Output>? = null,
public val labelColor: Output? = null,
public val labelContent: Output? = null,
public val labelFontConfiguration: Output? = null,
public val measureLabelVisibility: Output? = null,
public val overlap: Output? = null,
public val position: Output? = null,
public val totalsVisibility: Output? = null,
public val visibility: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateDataLabelOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateDataLabelOptionsArgs.builder()
.categoryLabelVisibility(
categoryLabelVisibility?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.dataLabelTypes(
dataLabelTypes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.labelColor(labelColor?.applyValue({ args0 -> args0 }))
.labelContent(labelContent?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.labelFontConfiguration(
labelFontConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.measureLabelVisibility(
measureLabelVisibility?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.overlap(overlap?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.position(position?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.totalsVisibility(totalsVisibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateDataLabelOptionsArgs].
*/
@PulumiTagMarker
public class TemplateDataLabelOptionsArgsBuilder internal constructor() {
private var categoryLabelVisibility: Output? = null
private var dataLabelTypes: Output>? = null
private var labelColor: Output? = null
private var labelContent: Output? = null
private var labelFontConfiguration: Output? = null
private var measureLabelVisibility: Output? = null
private var overlap: Output? = null
private var position: Output? = null
private var totalsVisibility: Output? = null
private var visibility: Output? = null
/**
* @param value Determines the visibility of the category field labels.
*/
@JvmName("rvfshtcchufltbse")
public suspend fun categoryLabelVisibility(`value`: Output) {
this.categoryLabelVisibility = value
}
/**
* @param value The option that determines the data label type.
*/
@JvmName("bkhvpmcfccklxwoo")
public suspend fun dataLabelTypes(`value`: Output>) {
this.dataLabelTypes = value
}
@JvmName("dctxxjjpnknfiauk")
public suspend fun dataLabelTypes(vararg values: Output) {
this.dataLabelTypes = Output.all(values.asList())
}
/**
* @param values The option that determines the data label type.
*/
@JvmName("tjqwywjyrhfajlum")
public suspend fun dataLabelTypes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy