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

com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardDefaultSliderControlOptions.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.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardSheetControlSliderType
import kotlin.Double
import kotlin.Suppress

/**
 *
 * @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 DashboardDefaultSliderControlOptions(
    public val displayOptions: DashboardSliderControlDisplayOptions? = null,
    public val maximumValue: Double,
    public val minimumValue: Double,
    public val stepSize: Double,
    public val type: DashboardSheetControlSliderType? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardDefaultSliderControlOptions): DashboardDefaultSliderControlOptions = DashboardDefaultSliderControlOptions(
            displayOptions = javaType.displayOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardSliderControlDisplayOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            maximumValue = javaType.maximumValue(),
            minimumValue = javaType.minimumValue(),
            stepSize = javaType.stepSize(),
            type = javaType.type().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.DashboardSheetControlSliderType.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy