
com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisHistogramBinOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisHistogramBinOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisHistogramBinType
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 AnalysisHistogramBinOptionsArgs(
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.AnalysisHistogramBinOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisHistogramBinOptionsArgs.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 [AnalysisHistogramBinOptionsArgs].
*/
@PulumiTagMarker
public class AnalysisHistogramBinOptionsArgsBuilder 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("oplbuntnjdeewtft")
public suspend fun binCount(`value`: Output) {
this.binCount = value
}
/**
* @param value The options that determine the bin width of a histogram.
*/
@JvmName("dtrpneacxwhmqbjb")
public suspend fun binWidth(`value`: Output) {
this.binWidth = value
}
/**
* @param value The options that determine the selected bin type.
*/
@JvmName("teqxuxqavvtuhewh")
public suspend fun selectedBinType(`value`: Output) {
this.selectedBinType = value
}
/**
* @param value The options that determine the bin start value.
*/
@JvmName("yylpuiyhhdyicyde")
public suspend fun startValue(`value`: Output) {
this.startValue = value
}
/**
* @param value The options that determine the bin count of a histogram.
*/
@JvmName("ibnivvthsdmbkell")
public suspend fun binCount(`value`: AnalysisBinCountOptionsArgs?) {
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("hprmbqvyfuyrwltl")
public suspend fun binCount(argument: suspend AnalysisBinCountOptionsArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisBinCountOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.binCount = mapped
}
/**
* @param value The options that determine the bin width of a histogram.
*/
@JvmName("rnnoawdegwstugyv")
public suspend fun binWidth(`value`: AnalysisBinWidthOptionsArgs?) {
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("srcvcipbsjhwxwfc")
public suspend fun binWidth(argument: suspend AnalysisBinWidthOptionsArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisBinWidthOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.binWidth = mapped
}
/**
* @param value The options that determine the selected bin type.
*/
@JvmName("kcwomgcbcbejdpgw")
public suspend fun selectedBinType(`value`: AnalysisHistogramBinType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.selectedBinType = mapped
}
/**
* @param value The options that determine the bin start value.
*/
@JvmName("hjvoqyactmvxsqhb")
public suspend fun startValue(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startValue = mapped
}
internal fun build(): AnalysisHistogramBinOptionsArgs = AnalysisHistogramBinOptionsArgs(
binCount = binCount,
binWidth = binWidth,
selectedBinType = selectedBinType,
startValue = startValue,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy