com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardDestinationParameterValueConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardDestinationParameterValueConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardSelectAllValueOptions
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 customValuesConfiguration The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` .
* @property selectAllValueOptions The configuration that selects all options.
* @property sourceColumn
* @property sourceField The source field ID of the destination parameter.
* @property sourceParameterName The source parameter name of the destination parameter.
*/
public data class DashboardDestinationParameterValueConfigurationArgs(
public val customValuesConfiguration: Output? = null,
public val selectAllValueOptions: Output? = null,
public val sourceColumn: Output? = null,
public val sourceField: Output? = null,
public val sourceParameterName: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardDestinationParameterValueConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardDestinationParameterValueConfigurationArgs.builder()
.customValuesConfiguration(
customValuesConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.selectAllValueOptions(
selectAllValueOptions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.sourceColumn(sourceColumn?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sourceField(sourceField?.applyValue({ args0 -> args0 }))
.sourceParameterName(sourceParameterName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DashboardDestinationParameterValueConfigurationArgs].
*/
@PulumiTagMarker
public class DashboardDestinationParameterValueConfigurationArgsBuilder internal constructor() {
private var customValuesConfiguration: Output? = null
private var selectAllValueOptions: Output? = null
private var sourceColumn: Output? = null
private var sourceField: Output? = null
private var sourceParameterName: Output? = null
/**
* @param value The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` .
*/
@JvmName("nryugescivppihnt")
public suspend fun customValuesConfiguration(`value`: Output) {
this.customValuesConfiguration = value
}
/**
* @param value The configuration that selects all options.
*/
@JvmName("nhvqcjtmoclvygvc")
public suspend fun selectAllValueOptions(`value`: Output) {
this.selectAllValueOptions = value
}
/**
* @param value
*/
@JvmName("iflnadfesnvtsisk")
public suspend fun sourceColumn(`value`: Output) {
this.sourceColumn = value
}
/**
* @param value The source field ID of the destination parameter.
*/
@JvmName("mudijayupcyaepnl")
public suspend fun sourceField(`value`: Output) {
this.sourceField = value
}
/**
* @param value The source parameter name of the destination parameter.
*/
@JvmName("aqdimfeuicetjmms")
public suspend fun sourceParameterName(`value`: Output) {
this.sourceParameterName = value
}
/**
* @param value The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` .
*/
@JvmName("tdgopgmhiiixtdih")
public suspend fun customValuesConfiguration(`value`: DashboardCustomValuesConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customValuesConfiguration = mapped
}
/**
* @param argument The configuration of custom values for destination parameter in `DestinationParameterValueConfiguration` .
*/
@JvmName("liwfcqntwbewaitv")
public suspend fun customValuesConfiguration(argument: suspend DashboardCustomValuesConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardCustomValuesConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.customValuesConfiguration = mapped
}
/**
* @param value The configuration that selects all options.
*/
@JvmName("hkmjedirdgtquonb")
public suspend fun selectAllValueOptions(`value`: DashboardSelectAllValueOptions?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.selectAllValueOptions = mapped
}
/**
* @param value
*/
@JvmName("xnvubgjwxrbrmktf")
public suspend fun sourceColumn(`value`: DashboardColumnIdentifierArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceColumn = mapped
}
/**
* @param argument
*/
@JvmName("gnijyirgauvuydmx")
public suspend fun sourceColumn(argument: suspend DashboardColumnIdentifierArgsBuilder.() -> Unit) {
val toBeMapped = DashboardColumnIdentifierArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.sourceColumn = mapped
}
/**
* @param value The source field ID of the destination parameter.
*/
@JvmName("kdifcutsjbsybuae")
public suspend fun sourceField(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceField = mapped
}
/**
* @param value The source parameter name of the destination parameter.
*/
@JvmName("huhqxsrihvqferfm")
public suspend fun sourceParameterName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceParameterName = mapped
}
internal fun build(): DashboardDestinationParameterValueConfigurationArgs =
DashboardDestinationParameterValueConfigurationArgs(
customValuesConfiguration = customValuesConfiguration,
selectAllValueOptions = selectAllValueOptions,
sourceColumn = sourceColumn,
sourceField = sourceField,
sourceParameterName = sourceParameterName,
)
}