
com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisLegendOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisLegendOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisLegendPosition
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility
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 height String based length that is composed of value and unit in px
* @property position The positions for the legend. Choose one of the following options:
* - `AUTO`
* - `RIGHT`
* - `BOTTOM`
* - `LEFT`
* @property title The custom title for the legend.
* @property visibility Determines whether or not the legend is visible.
* @property width String based length that is composed of value and unit in px
*/
public data class AnalysisLegendOptionsArgs(
public val height: Output? = null,
public val position: Output? = null,
public val title: Output? = null,
public val visibility: Output? = null,
public val width: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisLegendOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisLegendOptionsArgs.builder()
.height(height?.applyValue({ args0 -> args0 }))
.position(position?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.title(title?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.width(width?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnalysisLegendOptionsArgs].
*/
@PulumiTagMarker
public class AnalysisLegendOptionsArgsBuilder internal constructor() {
private var height: Output? = null
private var position: Output? = null
private var title: Output? = null
private var visibility: Output? = null
private var width: Output? = null
/**
* @param value String based length that is composed of value and unit in px
*/
@JvmName("prkkhpmlifjajraq")
public suspend fun height(`value`: Output) {
this.height = value
}
/**
* @param value The positions for the legend. Choose one of the following options:
* - `AUTO`
* - `RIGHT`
* - `BOTTOM`
* - `LEFT`
*/
@JvmName("ccrftgqtpvoxcvkp")
public suspend fun position(`value`: Output) {
this.position = value
}
/**
* @param value The custom title for the legend.
*/
@JvmName("jeccguepskowgtqn")
public suspend fun title(`value`: Output) {
this.title = value
}
/**
* @param value Determines whether or not the legend is visible.
*/
@JvmName("tgbfbflunbklmlwh")
public suspend fun visibility(`value`: Output) {
this.visibility = value
}
/**
* @param value String based length that is composed of value and unit in px
*/
@JvmName("awnawacmogggygbo")
public suspend fun width(`value`: Output) {
this.width = value
}
/**
* @param value String based length that is composed of value and unit in px
*/
@JvmName("tqnforjxfviukoes")
public suspend fun height(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.height = mapped
}
/**
* @param value The positions for the legend. Choose one of the following options:
* - `AUTO`
* - `RIGHT`
* - `BOTTOM`
* - `LEFT`
*/
@JvmName("qgfxrgfphmeuarie")
public suspend fun position(`value`: AnalysisLegendPosition?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.position = mapped
}
/**
* @param value The custom title for the legend.
*/
@JvmName("onaqgbeywcuplspo")
public suspend fun title(`value`: AnalysisLabelOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.title = mapped
}
/**
* @param argument The custom title for the legend.
*/
@JvmName("dnwqyawsupselxui")
public suspend fun title(argument: suspend AnalysisLabelOptionsArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.title = mapped
}
/**
* @param value Determines whether or not the legend is visible.
*/
@JvmName("qfbkuaqlriskqeff")
public suspend fun visibility(`value`: AnalysisVisibility?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visibility = mapped
}
/**
* @param value String based length that is composed of value and unit in px
*/
@JvmName("pgjgoypgdewmhglj")
public suspend fun width(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.width = mapped
}
internal fun build(): AnalysisLegendOptionsArgs = AnalysisLegendOptionsArgs(
height = height,
position = position,
title = title,
visibility = visibility,
width = width,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy