
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardDefaultSliderControlOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardDefaultSliderControlOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardSheetControlSliderType
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 DashboardDefaultSliderControlOptionsArgs(
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.DashboardDefaultSliderControlOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardDefaultSliderControlOptionsArgs.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 [DashboardDefaultSliderControlOptionsArgs].
*/
@PulumiTagMarker
public class DashboardDefaultSliderControlOptionsArgsBuilder 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("nasfsuqevrefaaca")
public suspend fun displayOptions(`value`: Output) {
this.displayOptions = value
}
/**
* @param value The larger value that is displayed at the right of the slider.
*/
@JvmName("qwowfhxcpgqcpvou")
public suspend fun maximumValue(`value`: Output) {
this.maximumValue = value
}
/**
* @param value The smaller value that is displayed at the left of the slider.
*/
@JvmName("hysuuivnnmuvainx")
public suspend fun minimumValue(`value`: Output) {
this.minimumValue = value
}
/**
* @param value The number of increments that the slider bar is divided into.
*/
@JvmName("jkvfhfulhfblvdat")
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("qhwrwhsfsrxtauyg")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The display options of a control.
*/
@JvmName("sjsnhhahayapqplg")
public suspend fun displayOptions(`value`: DashboardSliderControlDisplayOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayOptions = mapped
}
/**
* @param argument The display options of a control.
*/
@JvmName("obrjgdbigmkdnmtq")
public suspend fun displayOptions(argument: suspend DashboardSliderControlDisplayOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardSliderControlDisplayOptionsArgsBuilder().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("xuakugicavadjjbk")
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("bomevtgybhubowdc")
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("srfrahpgxucyesjj")
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("wisqnljndajiwbrc")
public suspend fun type(`value`: DashboardSheetControlSliderType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): DashboardDefaultSliderControlOptionsArgs =
DashboardDefaultSliderControlOptionsArgs(
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