
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateParameterSliderControlArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateParameterSliderControlArgs.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.Double
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property displayOptions The display options of a control.
* @property maximumValue The larger value that is displayed at the right of the slider.
* @property minimumValue The smaller value that is displayed at the left of the slider.
* @property parameterControlId The ID of the `ParameterSliderControl` .
* @property sourceParameterName The source parameter name of the `ParameterSliderControl` .
* @property stepSize The number of increments that the slider bar is divided into.
* @property title The title of the `ParameterSliderControl` .
*/
public data class TemplateParameterSliderControlArgs(
public val displayOptions: Output? = null,
public val maximumValue: Output,
public val minimumValue: Output,
public val parameterControlId: Output,
public val sourceParameterName: Output,
public val stepSize: Output,
public val title: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateParameterSliderControlArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateParameterSliderControlArgs.builder()
.displayOptions(displayOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.maximumValue(maximumValue.applyValue({ args0 -> args0 }))
.minimumValue(minimumValue.applyValue({ args0 -> args0 }))
.parameterControlId(parameterControlId.applyValue({ args0 -> args0 }))
.sourceParameterName(sourceParameterName.applyValue({ args0 -> args0 }))
.stepSize(stepSize.applyValue({ args0 -> args0 }))
.title(title.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TemplateParameterSliderControlArgs].
*/
@PulumiTagMarker
public class TemplateParameterSliderControlArgsBuilder internal constructor() {
private var displayOptions: Output? = null
private var maximumValue: Output? = null
private var minimumValue: Output? = null
private var parameterControlId: Output? = null
private var sourceParameterName: Output? = null
private var stepSize: Output? = null
private var title: Output? = null
/**
* @param value The display options of a control.
*/
@JvmName("wccrhhwbgpdsqveg")
public suspend fun displayOptions(`value`: Output) {
this.displayOptions = value
}
/**
* @param value The larger value that is displayed at the right of the slider.
*/
@JvmName("tjtojaglusmtjkgx")
public suspend fun maximumValue(`value`: Output) {
this.maximumValue = value
}
/**
* @param value The smaller value that is displayed at the left of the slider.
*/
@JvmName("wkskspgpddywmucj")
public suspend fun minimumValue(`value`: Output) {
this.minimumValue = value
}
/**
* @param value The ID of the `ParameterSliderControl` .
*/
@JvmName("scgogvilaaddcqhi")
public suspend fun parameterControlId(`value`: Output) {
this.parameterControlId = value
}
/**
* @param value The source parameter name of the `ParameterSliderControl` .
*/
@JvmName("dytokqqykitgdefq")
public suspend fun sourceParameterName(`value`: Output) {
this.sourceParameterName = value
}
/**
* @param value The number of increments that the slider bar is divided into.
*/
@JvmName("nkrphythljyiierk")
public suspend fun stepSize(`value`: Output) {
this.stepSize = value
}
/**
* @param value The title of the `ParameterSliderControl` .
*/
@JvmName("utoqmhfcbqksdekr")
public suspend fun title(`value`: Output) {
this.title = value
}
/**
* @param value The display options of a control.
*/
@JvmName("gndtuicquuymewvk")
public suspend fun displayOptions(`value`: TemplateSliderControlDisplayOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayOptions = mapped
}
/**
* @param argument The display options of a control.
*/
@JvmName("xfheqcpokbpnffki")
public suspend fun displayOptions(argument: suspend TemplateSliderControlDisplayOptionsArgsBuilder.() -> Unit) {
val toBeMapped = TemplateSliderControlDisplayOptionsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.displayOptions = mapped
}
/**
* @param value The larger value that is displayed at the right of the slider.
*/
@JvmName("oekewiffwqgqmeak")
public suspend fun maximumValue(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.maximumValue = mapped
}
/**
* @param value The smaller value that is displayed at the left of the slider.
*/
@JvmName("ebdoakxswaqwkyrr")
public suspend fun minimumValue(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.minimumValue = mapped
}
/**
* @param value The ID of the `ParameterSliderControl` .
*/
@JvmName("pexdqytdvxvupqxh")
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 `ParameterSliderControl` .
*/
@JvmName("kgoyxwqwsxfdqhhe")
public suspend fun sourceParameterName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sourceParameterName = mapped
}
/**
* @param value The number of increments that the slider bar is divided into.
*/
@JvmName("eybtdcvpfdbooani")
public suspend fun stepSize(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.stepSize = mapped
}
/**
* @param value The title of the `ParameterSliderControl` .
*/
@JvmName("mjwosqweiavywccc")
public suspend fun title(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.title = mapped
}
internal fun build(): TemplateParameterSliderControlArgs = TemplateParameterSliderControlArgs(
displayOptions = displayOptions,
maximumValue = maximumValue ?: throw PulumiNullFieldException("maximumValue"),
minimumValue = minimumValue ?: throw PulumiNullFieldException("minimumValue"),
parameterControlId = parameterControlId ?: throw PulumiNullFieldException("parameterControlId"),
sourceParameterName = sourceParameterName ?: throw PulumiNullFieldException("sourceParameterName"),
stepSize = stepSize ?: throw PulumiNullFieldException("stepSize"),
title = title ?: throw PulumiNullFieldException("title"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy