![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateFreeFormLayoutElementArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateFreeFormLayoutElementArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateLayoutElementType
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.PulumiNullFieldException
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 backgroundStyle The background style configuration of a free-form layout element.
* @property borderStyle The border style configuration of a free-form layout element.
* @property elementId A unique identifier for an element within a free-form layout.
* @property elementType The type of element.
* @property height String based length that is composed of value and unit in px
* @property loadingAnimation The loading animation configuration of a free-form layout element.
* @property renderingRules The rendering rules that determine when an element should be displayed within a free-form layout.
* @property selectedBorderStyle The border style configuration of a free-form layout element. This border style is used when the element is selected.
* @property visibility The visibility of an element within a free-form layout.
* @property width String based length that is composed of value and unit in px
* @property xAxisLocation String based length that is composed of value and unit in px
* @property yAxisLocation String based length that is composed of value and unit in px with Integer.MAX_VALUE as maximum value
*/
public data class TemplateFreeFormLayoutElementArgs(
public val backgroundStyle: Output? = null,
public val borderStyle: Output? = null,
public val elementId: Output,
public val elementType: Output,
public val height: Output,
public val loadingAnimation: Output? = null,
public val renderingRules: Output>? = null,
public val selectedBorderStyle: Output? = null,
public val visibility: Output? = null,
public val width: Output,
public val xAxisLocation: Output,
public val yAxisLocation: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateFreeFormLayoutElementArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateFreeFormLayoutElementArgs.builder()
.backgroundStyle(backgroundStyle?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.borderStyle(borderStyle?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.elementId(elementId.applyValue({ args0 -> args0 }))
.elementType(elementType.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.height(height.applyValue({ args0 -> args0 }))
.loadingAnimation(loadingAnimation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.renderingRules(
renderingRules?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.selectedBorderStyle(
selectedBorderStyle?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.width(width.applyValue({ args0 -> args0 }))
.xAxisLocation(xAxisLocation.applyValue({ args0 -> args0 }))
.yAxisLocation(yAxisLocation.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TemplateFreeFormLayoutElementArgs].
*/
@PulumiTagMarker
public class TemplateFreeFormLayoutElementArgsBuilder internal constructor() {
private var backgroundStyle: Output? = null
private var borderStyle: Output? = null
private var elementId: Output? = null
private var elementType: Output? = null
private var height: Output? = null
private var loadingAnimation: Output? = null
private var renderingRules: Output>? = null
private var selectedBorderStyle: Output? = null
private var visibility: Output? = null
private var width: Output? = null
private var xAxisLocation: Output? = null
private var yAxisLocation: Output? = null
/**
* @param value The background style configuration of a free-form layout element.
*/
@JvmName("bdcfsrgtjfibtltw")
public suspend fun backgroundStyle(`value`: Output) {
this.backgroundStyle = value
}
/**
* @param value The border style configuration of a free-form layout element.
*/
@JvmName("mjrthvpootxfkljq")
public suspend fun borderStyle(`value`: Output) {
this.borderStyle = value
}
/**
* @param value A unique identifier for an element within a free-form layout.
*/
@JvmName("vfbhbgycgvytgivc")
public suspend fun elementId(`value`: Output) {
this.elementId = value
}
/**
* @param value The type of element.
*/
@JvmName("ossjjgtnmoeyiiif")
public suspend fun elementType(`value`: Output) {
this.elementType = value
}
/**
* @param value String based length that is composed of value and unit in px
*/
@JvmName("becpsxdsnkmsxtnn")
public suspend fun height(`value`: Output) {
this.height = value
}
/**
* @param value The loading animation configuration of a free-form layout element.
*/
@JvmName("ylsujgsdcndnphxu")
public suspend fun loadingAnimation(`value`: Output) {
this.loadingAnimation = value
}
/**
* @param value The rendering rules that determine when an element should be displayed within a free-form layout.
*/
@JvmName("biurjwdxebmfqaqh")
public suspend fun renderingRules(`value`: Output>) {
this.renderingRules = value
}
@JvmName("mupraoefrdncmhap")
public suspend fun renderingRules(vararg values: Output) {
this.renderingRules = Output.all(values.asList())
}
/**
* @param values The rendering rules that determine when an element should be displayed within a free-form layout.
*/
@JvmName("jffkmayrruujcnmr")
public suspend fun renderingRules(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy