com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateParameterSliderControl.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.outputs
import kotlin.Double
import kotlin.String
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 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 TemplateParameterSliderControl(
public val displayOptions: TemplateSliderControlDisplayOptions? = null,
public val maximumValue: Double,
public val minimumValue: Double,
public val parameterControlId: String,
public val sourceParameterName: String,
public val stepSize: Double,
public val title: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateParameterSliderControl): TemplateParameterSliderControl = TemplateParameterSliderControl(
displayOptions = javaType.displayOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateSliderControlDisplayOptions.Companion.toKotlin(args0)
})
}).orElse(null),
maximumValue = javaType.maximumValue(),
minimumValue = javaType.minimumValue(),
parameterControlId = javaType.parameterControlId(),
sourceParameterName = javaType.sourceParameterName(),
stepSize = javaType.stepSize(),
title = javaType.title(),
)
}
}