com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisParameterTextFieldControlArgs.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.AnalysisParameterTextFieldControlArgs.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 AnalysisParameterTextFieldControlArgs(
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.AnalysisParameterTextFieldControlArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisParameterTextFieldControlArgs.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 [AnalysisParameterTextFieldControlArgs].
*/
@PulumiTagMarker
public class AnalysisParameterTextFieldControlArgsBuilder 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("jlaaaenqyxqdxdcw")
public suspend fun displayOptions(`value`: Output) {
this.displayOptions = value
}
/**
* @param value The ID of the `ParameterTextFieldControl` .
*/
@JvmName("ffdndhndklpnyqwf")
public suspend fun parameterControlId(`value`: Output) {
this.parameterControlId = value
}
/**
* @param value The source parameter name of the `ParameterTextFieldControl` .
*/
@JvmName("kjlrqqlphcdwksyt")
public suspend fun sourceParameterName(`value`: Output) {
this.sourceParameterName = value
}
/**
* @param value The title of the `ParameterTextFieldControl` .
*/
@JvmName("xehcwubhfvfurlgw")
public suspend fun title(`value`: Output) {
this.title = value
}
/**
* @param value The display options of a control.
*/
@JvmName("yutqlfdxnnqqsljc")
public suspend fun displayOptions(`value`: AnalysisTextFieldControlDisplayOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayOptions = mapped
}
/**
* @param argument The display options of a control.
*/
@JvmName("ufbylkpieqiybfir")
public suspend fun displayOptions(argument: suspend AnalysisTextFieldControlDisplayOptionsArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisTextFieldControlDisplayOptionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.displayOptions = mapped
}
/**
* @param value The ID of the `ParameterTextFieldControl` .
*/
@JvmName("iepnfvshkrviajva")
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("bcbvldjrdjbuqyvf")
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("ejsvapptxrjmvopk")
public suspend fun title(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.title = mapped
}
internal fun build(): AnalysisParameterTextFieldControlArgs =
AnalysisParameterTextFieldControlArgs(
displayOptions = displayOptions,
parameterControlId = parameterControlId ?: throw PulumiNullFieldException("parameterControlId"),
sourceParameterName = sourceParameterName ?: throw PulumiNullFieldException("sourceParameterName"),
title = title ?: throw PulumiNullFieldException("title"),
)
}