com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardParameterTextFieldControlArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardParameterTextFieldControlArgs.builder
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.jvm.JvmName
/**
*
* @property displayOptions The display options of a control.
* @property parameterControlId The ID of the `ParameterTextFieldControl` .
* @property sourceParameterName The source parameter name of the `ParameterTextFieldControl` .
* @property title The title of the `ParameterTextFieldControl` .
*/
public data class DashboardParameterTextFieldControlArgs(
public val displayOptions: Output? = null,
public val parameterControlId: Output,
public val sourceParameterName: Output,
public val title: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardParameterTextFieldControlArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardParameterTextFieldControlArgs.builder()
.displayOptions(displayOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.parameterControlId(parameterControlId.applyValue({ args0 -> args0 }))
.sourceParameterName(sourceParameterName.applyValue({ args0 -> args0 }))
.title(title.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DashboardParameterTextFieldControlArgs].
*/
@PulumiTagMarker
public class DashboardParameterTextFieldControlArgsBuilder internal constructor() {
private var displayOptions: Output? = null
private var parameterControlId: Output? = null
private var sourceParameterName: Output? = null
private var title: Output? = null
/**
* @param value The display options of a control.
*/
@JvmName("fhmpwbhojlfbpyke")
public suspend fun displayOptions(`value`: Output) {
this.displayOptions = value
}
/**
* @param value The ID of the `ParameterTextFieldControl` .
*/
@JvmName("rxdbdtpqgwhyesrw")
public suspend fun parameterControlId(`value`: Output) {
this.parameterControlId = value
}
/**
* @param value The source parameter name of the `ParameterTextFieldControl` .
*/
@JvmName("nawraksagqascdtp")
public suspend fun sourceParameterName(`value`: Output) {
this.sourceParameterName = value
}
/**
* @param value The title of the `ParameterTextFieldControl` .
*/
@JvmName("nfhojsqloeimnsys")
public suspend fun title(`value`: Output) {
this.title = value
}
/**
* @param value The display options of a control.
*/
@JvmName("gfmlsasfwljqsfpa")
public suspend fun displayOptions(`value`: DashboardTextFieldControlDisplayOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayOptions = mapped
}
/**
* @param argument The display options of a control.
*/
@JvmName("rfgxkvrdfjytpcql")
public suspend fun displayOptions(argument: suspend DashboardTextFieldControlDisplayOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardTextFieldControlDisplayOptionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.displayOptions = mapped
}
/**
* @param value The ID of the `ParameterTextFieldControl` .
*/
@JvmName("mvgghahsibxbjdpp")
public suspend fun parameterControlId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.parameterControlId = mapped
}
/**
* @param value The source parameter name of the `ParameterTextFieldControl` .
*/
@JvmName("oluqlvmpddqscbtn")
public suspend fun sourceParameterName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sourceParameterName = mapped
}
/**
* @param value The title of the `ParameterTextFieldControl` .
*/
@JvmName("srccmekakgscpfmj")
public suspend fun title(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.title = mapped
}
internal fun build(): DashboardParameterTextFieldControlArgs =
DashboardParameterTextFieldControlArgs(
displayOptions = displayOptions,
parameterControlId = parameterControlId ?: throw PulumiNullFieldException("parameterControlId"),
sourceParameterName = sourceParameterName ?: throw PulumiNullFieldException("sourceParameterName"),
title = title ?: throw PulumiNullFieldException("title"),
)
}