All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisParameterSliderControlArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.AnalysisParameterSliderControlArgs.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 AnalysisParameterSliderControlArgs(
    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.AnalysisParameterSliderControlArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisParameterSliderControlArgs.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 [AnalysisParameterSliderControlArgs].
 */
@PulumiTagMarker
public class AnalysisParameterSliderControlArgsBuilder 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("pcipevupcgjsgixa")
    public suspend fun displayOptions(`value`: Output) {
        this.displayOptions = value
    }

    /**
     * @param value The larger value that is displayed at the right of the slider.
     */
    @JvmName("ryxkstgvidxfindj")
    public suspend fun maximumValue(`value`: Output) {
        this.maximumValue = value
    }

    /**
     * @param value The smaller value that is displayed at the left of the slider.
     */
    @JvmName("fvlpvqekdqeknebx")
    public suspend fun minimumValue(`value`: Output) {
        this.minimumValue = value
    }

    /**
     * @param value The ID of the `ParameterSliderControl` .
     */
    @JvmName("abmevcoveashakxa")
    public suspend fun parameterControlId(`value`: Output) {
        this.parameterControlId = value
    }

    /**
     * @param value The source parameter name of the `ParameterSliderControl` .
     */
    @JvmName("axbmcnndqekkhaao")
    public suspend fun sourceParameterName(`value`: Output) {
        this.sourceParameterName = value
    }

    /**
     * @param value The number of increments that the slider bar is divided into.
     */
    @JvmName("jxeqfbiittrgowqk")
    public suspend fun stepSize(`value`: Output) {
        this.stepSize = value
    }

    /**
     * @param value The title of the `ParameterSliderControl` .
     */
    @JvmName("osxfqkwmxgyoapgs")
    public suspend fun title(`value`: Output) {
        this.title = value
    }

    /**
     * @param value The display options of a control.
     */
    @JvmName("osoeryqscmwvqgfq")
    public suspend fun displayOptions(`value`: AnalysisSliderControlDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.displayOptions = mapped
    }

    /**
     * @param argument The display options of a control.
     */
    @JvmName("wmrowyrwaokngocq")
    public suspend fun displayOptions(argument: suspend AnalysisSliderControlDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisSliderControlDisplayOptionsArgsBuilder().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("yvltgfmxhbewdqlm")
    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("rcsikhrhiicvucrm")
    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("clnsiatvuniqmvwd")
    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("fwctwrqfdacimdrg")
    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("btwtpitkeswnhftt")
    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("kpavcwwqdjtpqctb")
    public suspend fun title(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.title = mapped
    }

    internal fun build(): AnalysisParameterSliderControlArgs = AnalysisParameterSliderControlArgs(
        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