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

com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisDefaultSliderControlOptions.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy