
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateCascadingControlSourceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateCascadingControlSourceArgs.builder
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 columnToMatch The column identifier that determines which column to look up for the source sheet control.
* @property sourceSheetControlId The source sheet control ID of a `CascadingControlSource` .
*/
public data class TemplateCascadingControlSourceArgs(
public val columnToMatch: Output? = null,
public val sourceSheetControlId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateCascadingControlSourceArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateCascadingControlSourceArgs.builder()
.columnToMatch(columnToMatch?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sourceSheetControlId(sourceSheetControlId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TemplateCascadingControlSourceArgs].
*/
@PulumiTagMarker
public class TemplateCascadingControlSourceArgsBuilder internal constructor() {
private var columnToMatch: Output? = null
private var sourceSheetControlId: Output? = null
/**
* @param value The column identifier that determines which column to look up for the source sheet control.
*/
@JvmName("rpobhyqbvvmhnjxp")
public suspend fun columnToMatch(`value`: Output) {
this.columnToMatch = value
}
/**
* @param value The source sheet control ID of a `CascadingControlSource` .
*/
@JvmName("nneuysboeqnwipdc")
public suspend fun sourceSheetControlId(`value`: Output) {
this.sourceSheetControlId = value
}
/**
* @param value The column identifier that determines which column to look up for the source sheet control.
*/
@JvmName("hmbmrigsabgwrhjj")
public suspend fun columnToMatch(`value`: TemplateColumnIdentifierArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.columnToMatch = mapped
}
/**
* @param argument The column identifier that determines which column to look up for the source sheet control.
*/
@JvmName("eiwqnsrvdywvjyhu")
public suspend fun columnToMatch(argument: suspend TemplateColumnIdentifierArgsBuilder.() -> Unit) {
val toBeMapped = TemplateColumnIdentifierArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.columnToMatch = mapped
}
/**
* @param value The source sheet control ID of a `CascadingControlSource` .
*/
@JvmName("iudwvcajtbbsbosi")
public suspend fun sourceSheetControlId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceSheetControlId = mapped
}
internal fun build(): TemplateCascadingControlSourceArgs = TemplateCascadingControlSourceArgs(
columnToMatch = columnToMatch,
sourceSheetControlId = sourceSheetControlId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy