
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardHistogramBinOptionsArgs.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.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardHistogramBinOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardHistogramBinType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Double
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property binCount The options that determine the bin count of a histogram.
* @property binWidth The options that determine the bin width of a histogram.
* @property selectedBinType The options that determine the selected bin type.
* @property startValue The options that determine the bin start value.
*/
public data class DashboardHistogramBinOptionsArgs(
public val binCount: Output? = null,
public val binWidth: Output? = null,
public val selectedBinType: Output? = null,
public val startValue: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardHistogramBinOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardHistogramBinOptionsArgs.builder()
.binCount(binCount?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.binWidth(binWidth?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.selectedBinType(selectedBinType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.startValue(startValue?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DashboardHistogramBinOptionsArgs].
*/
@PulumiTagMarker
public class DashboardHistogramBinOptionsArgsBuilder internal constructor() {
private var binCount: Output? = null
private var binWidth: Output? = null
private var selectedBinType: Output? = null
private var startValue: Output? = null
/**
* @param value The options that determine the bin count of a histogram.
*/
@JvmName("qvwywpffdvjxufls")
public suspend fun binCount(`value`: Output) {
this.binCount = value
}
/**
* @param value The options that determine the bin width of a histogram.
*/
@JvmName("cmtqsgedcdoywiwa")
public suspend fun binWidth(`value`: Output) {
this.binWidth = value
}
/**
* @param value The options that determine the selected bin type.
*/
@JvmName("rnfspfmwulvnwwjk")
public suspend fun selectedBinType(`value`: Output) {
this.selectedBinType = value
}
/**
* @param value The options that determine the bin start value.
*/
@JvmName("ftbvhguqkxfsitec")
public suspend fun startValue(`value`: Output) {
this.startValue = value
}
/**
* @param value The options that determine the bin count of a histogram.
*/
@JvmName("twmkficefxvorlee")
public suspend fun binCount(`value`: DashboardBinCountOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.binCount = mapped
}
/**
* @param argument The options that determine the bin count of a histogram.
*/
@JvmName("cgithukpcukryiaq")
public suspend fun binCount(argument: suspend DashboardBinCountOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardBinCountOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.binCount = mapped
}
/**
* @param value The options that determine the bin width of a histogram.
*/
@JvmName("mmtmrepgdwxajwrw")
public suspend fun binWidth(`value`: DashboardBinWidthOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.binWidth = mapped
}
/**
* @param argument The options that determine the bin width of a histogram.
*/
@JvmName("bcjbpfgwwmacbkvk")
public suspend fun binWidth(argument: suspend DashboardBinWidthOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardBinWidthOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.binWidth = mapped
}
/**
* @param value The options that determine the selected bin type.
*/
@JvmName("ivolwlxthejdnyjn")
public suspend fun selectedBinType(`value`: DashboardHistogramBinType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.selectedBinType = mapped
}
/**
* @param value The options that determine the bin start value.
*/
@JvmName("pmddefvaowpvnddj")
public suspend fun startValue(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startValue = mapped
}
internal fun build(): DashboardHistogramBinOptionsArgs = DashboardHistogramBinOptionsArgs(
binCount = binCount,
binWidth = binWidth,
selectedBinType = selectedBinType,
startValue = startValue,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy