![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateFreeFormLayoutElementBackgroundStyleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateFreeFormLayoutElementBackgroundStyleArgs.builder
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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property color The background color of a free-form layout element.
* @property visibility The background visibility of a free-form layout element.
*/
public data class TemplateFreeFormLayoutElementBackgroundStyleArgs(
public val color: Output? = null,
public val visibility: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateFreeFormLayoutElementBackgroundStyleArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateFreeFormLayoutElementBackgroundStyleArgs.builder()
.color(color?.applyValue({ args0 -> args0 }))
.visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateFreeFormLayoutElementBackgroundStyleArgs].
*/
@PulumiTagMarker
public class TemplateFreeFormLayoutElementBackgroundStyleArgsBuilder internal constructor() {
private var color: Output? = null
private var visibility: Output? = null
/**
* @param value The background color of a free-form layout element.
*/
@JvmName("moyiifqrmbawnduv")
public suspend fun color(`value`: Output) {
this.color = value
}
/**
* @param value The background visibility of a free-form layout element.
*/
@JvmName("wukbgxjvqhbawdan")
public suspend fun visibility(`value`: Output) {
this.visibility = value
}
/**
* @param value The background color of a free-form layout element.
*/
@JvmName("dajgwugsprrmnobm")
public suspend fun color(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.color = mapped
}
/**
* @param value The background visibility of a free-form layout element.
*/
@JvmName("lpolenapxwuxhaby")
public suspend fun visibility(`value`: TemplateVisibility?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visibility = mapped
}
internal fun build(): TemplateFreeFormLayoutElementBackgroundStyleArgs =
TemplateFreeFormLayoutElementBackgroundStyleArgs(
color = color,
visibility = visibility,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy