
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateDefaultSliderControlOptionsArgs.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.TemplateDefaultSliderControlOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateSheetControlSliderType
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.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 stepSize The number of increments that the slider bar is divided into.
* @property type The type of the `DefaultSliderControlOptions` . Choose one of the following options:
* - `SINGLE_POINT` : Filter against(equals) a single data point.
* - `RANGE` : Filter data that is in a specified range.
*/
public data class TemplateDefaultSliderControlOptionsArgs(
public val displayOptions: Output? = null,
public val maximumValue: Output,
public val minimumValue: Output,
public val stepSize: Output,
public val type: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateDefaultSliderControlOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateDefaultSliderControlOptionsArgs.builder()
.displayOptions(displayOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.maximumValue(maximumValue.applyValue({ args0 -> args0 }))
.minimumValue(minimumValue.applyValue({ args0 -> args0 }))
.stepSize(stepSize.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateDefaultSliderControlOptionsArgs].
*/
@PulumiTagMarker
public class TemplateDefaultSliderControlOptionsArgsBuilder internal constructor() {
private var displayOptions: Output? = null
private var maximumValue: Output? = null
private var minimumValue: Output? = null
private var stepSize: Output? = null
private var type: Output? = null
/**
* @param value The display options of a control.
*/
@JvmName("btkdfamhvccvcdfd")
public suspend fun displayOptions(`value`: Output) {
this.displayOptions = value
}
/**
* @param value The larger value that is displayed at the right of the slider.
*/
@JvmName("uieofttyyibxtvnf")
public suspend fun maximumValue(`value`: Output) {
this.maximumValue = value
}
/**
* @param value The smaller value that is displayed at the left of the slider.
*/
@JvmName("encnnfryepmcauhv")
public suspend fun minimumValue(`value`: Output) {
this.minimumValue = value
}
/**
* @param value The number of increments that the slider bar is divided into.
*/
@JvmName("dhkfqgafhmdrdxox")
public suspend fun stepSize(`value`: Output) {
this.stepSize = value
}
/**
* @param value The type of the `DefaultSliderControlOptions` . Choose one of the following options:
* - `SINGLE_POINT` : Filter against(equals) a single data point.
* - `RANGE` : Filter data that is in a specified range.
*/
@JvmName("sydedvixtvwmdnnn")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The display options of a control.
*/
@JvmName("cnbqfvdpeqpbdlqj")
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("prfdjsnvtqwwdgak")
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("hbgufibtscxntgth")
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("hintjijptvhfcwar")
public suspend fun minimumValue(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.minimumValue = mapped
}
/**
* @param value The number of increments that the slider bar is divided into.
*/
@JvmName("xlhhwccvuormbudb")
public suspend fun stepSize(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.stepSize = mapped
}
/**
* @param value The type of the `DefaultSliderControlOptions` . Choose one of the following options:
* - `SINGLE_POINT` : Filter against(equals) a single data point.
* - `RANGE` : Filter data that is in a specified range.
*/
@JvmName("pgdqmseysmbpxuym")
public suspend fun type(`value`: TemplateSheetControlSliderType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): TemplateDefaultSliderControlOptionsArgs =
TemplateDefaultSliderControlOptionsArgs(
displayOptions = displayOptions,
maximumValue = maximumValue ?: throw PulumiNullFieldException("maximumValue"),
minimumValue = minimumValue ?: throw PulumiNullFieldException("minimumValue"),
stepSize = stepSize ?: throw PulumiNullFieldException("stepSize"),
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy