
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardReferenceLineLabelConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardReferenceLineLabelConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardReferenceLineLabelHorizontalPosition
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardReferenceLineLabelVerticalPosition
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.jvm.JvmName
/**
*
* @property customLabelConfiguration The custom label configuration of the label in a reference line.
* @property fontColor The font color configuration of the label in a reference line.
* @property fontConfiguration The font configuration of the label in a reference line.
* @property horizontalPosition The horizontal position configuration of the label in a reference line. Choose one of the following options:
* - `LEFT`
* - `CENTER`
* - `RIGHT`
* @property valueLabelConfiguration The value label configuration of the label in a reference line.
* @property verticalPosition The vertical position configuration of the label in a reference line. Choose one of the following options:
* - `ABOVE`
* - `BELOW`
*/
public data class DashboardReferenceLineLabelConfigurationArgs(
public val customLabelConfiguration: Output? =
null,
public val fontColor: Output? = null,
public val fontConfiguration: Output? = null,
public val horizontalPosition: Output? = null,
public val valueLabelConfiguration: Output? =
null,
public val verticalPosition: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardReferenceLineLabelConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardReferenceLineLabelConfigurationArgs.builder()
.customLabelConfiguration(
customLabelConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.fontColor(fontColor?.applyValue({ args0 -> args0 }))
.fontConfiguration(fontConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.horizontalPosition(
horizontalPosition?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.valueLabelConfiguration(
valueLabelConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.verticalPosition(
verticalPosition?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DashboardReferenceLineLabelConfigurationArgs].
*/
@PulumiTagMarker
public class DashboardReferenceLineLabelConfigurationArgsBuilder internal constructor() {
private var customLabelConfiguration: Output? =
null
private var fontColor: Output? = null
private var fontConfiguration: Output? = null
private var horizontalPosition: Output? = null
private var valueLabelConfiguration: Output? =
null
private var verticalPosition: Output? = null
/**
* @param value The custom label configuration of the label in a reference line.
*/
@JvmName("jwowvllkspifbaci")
public suspend fun customLabelConfiguration(`value`: Output) {
this.customLabelConfiguration = value
}
/**
* @param value The font color configuration of the label in a reference line.
*/
@JvmName("mxiyndrjkndhfhoe")
public suspend fun fontColor(`value`: Output) {
this.fontColor = value
}
/**
* @param value The font configuration of the label in a reference line.
*/
@JvmName("yoabjwdkdfcmuyvm")
public suspend fun fontConfiguration(`value`: Output) {
this.fontConfiguration = value
}
/**
* @param value The horizontal position configuration of the label in a reference line. Choose one of the following options:
* - `LEFT`
* - `CENTER`
* - `RIGHT`
*/
@JvmName("eeelutirsobtqobt")
public suspend fun horizontalPosition(`value`: Output) {
this.horizontalPosition = value
}
/**
* @param value The value label configuration of the label in a reference line.
*/
@JvmName("npaanjwhqhunkyam")
public suspend fun valueLabelConfiguration(`value`: Output) {
this.valueLabelConfiguration = value
}
/**
* @param value The vertical position configuration of the label in a reference line. Choose one of the following options:
* - `ABOVE`
* - `BELOW`
*/
@JvmName("sovimqxtewlgjlty")
public suspend fun verticalPosition(`value`: Output) {
this.verticalPosition = value
}
/**
* @param value The custom label configuration of the label in a reference line.
*/
@JvmName("mofruvbcbwyigoui")
public suspend fun customLabelConfiguration(`value`: DashboardReferenceLineCustomLabelConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customLabelConfiguration = mapped
}
/**
* @param argument The custom label configuration of the label in a reference line.
*/
@JvmName("dbkoojiqpttcwmwj")
public suspend fun customLabelConfiguration(argument: suspend DashboardReferenceLineCustomLabelConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardReferenceLineCustomLabelConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.customLabelConfiguration = mapped
}
/**
* @param value The font color configuration of the label in a reference line.
*/
@JvmName("nwtjtoetvrtmscke")
public suspend fun fontColor(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fontColor = mapped
}
/**
* @param value The font configuration of the label in a reference line.
*/
@JvmName("omjsvvhhfgtpexps")
public suspend fun fontConfiguration(`value`: DashboardFontConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fontConfiguration = mapped
}
/**
* @param argument The font configuration of the label in a reference line.
*/
@JvmName("othfongvetpcntqj")
public suspend fun fontConfiguration(argument: suspend DashboardFontConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardFontConfigurationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.fontConfiguration = mapped
}
/**
* @param value The horizontal position configuration of the label in a reference line. Choose one of the following options:
* - `LEFT`
* - `CENTER`
* - `RIGHT`
*/
@JvmName("opakiiqkilqeaspv")
public suspend fun horizontalPosition(`value`: DashboardReferenceLineLabelHorizontalPosition?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.horizontalPosition = mapped
}
/**
* @param value The value label configuration of the label in a reference line.
*/
@JvmName("bogaakrpviunsctf")
public suspend fun valueLabelConfiguration(`value`: DashboardReferenceLineValueLabelConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.valueLabelConfiguration = mapped
}
/**
* @param argument The value label configuration of the label in a reference line.
*/
@JvmName("jjvblnqersdfddtq")
public suspend fun valueLabelConfiguration(argument: suspend DashboardReferenceLineValueLabelConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardReferenceLineValueLabelConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.valueLabelConfiguration = mapped
}
/**
* @param value The vertical position configuration of the label in a reference line. Choose one of the following options:
* - `ABOVE`
* - `BELOW`
*/
@JvmName("rwgbvusdqxjnurya")
public suspend fun verticalPosition(`value`: DashboardReferenceLineLabelVerticalPosition?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.verticalPosition = mapped
}
internal fun build(): DashboardReferenceLineLabelConfigurationArgs =
DashboardReferenceLineLabelConfigurationArgs(
customLabelConfiguration = customLabelConfiguration,
fontColor = fontColor,
fontConfiguration = fontConfiguration,
horizontalPosition = horizontalPosition,
valueLabelConfiguration = valueLabelConfiguration,
verticalPosition = verticalPosition,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy