com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisScrollBarOptionsArgs.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.AnalysisScrollBarOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property visibility The visibility of the data zoom scroll bar.
* @property visibleRange The visibility range for the data zoom scroll bar.
*/
public data class AnalysisScrollBarOptionsArgs(
public val visibility: Output? = null,
public val visibleRange: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisScrollBarOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisScrollBarOptionsArgs.builder()
.visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.visibleRange(visibleRange?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisScrollBarOptionsArgs].
*/
@PulumiTagMarker
public class AnalysisScrollBarOptionsArgsBuilder internal constructor() {
private var visibility: Output? = null
private var visibleRange: Output? = null
/**
* @param value The visibility of the data zoom scroll bar.
*/
@JvmName("snrxqllxtmhtcmas")
public suspend fun visibility(`value`: Output) {
this.visibility = value
}
/**
* @param value The visibility range for the data zoom scroll bar.
*/
@JvmName("orvdqmlkxhbuhaig")
public suspend fun visibleRange(`value`: Output) {
this.visibleRange = value
}
/**
* @param value The visibility of the data zoom scroll bar.
*/
@JvmName("sfskxftquuvaxdmr")
public suspend fun visibility(`value`: AnalysisVisibility?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visibility = mapped
}
/**
* @param value The visibility range for the data zoom scroll bar.
*/
@JvmName("enrbmcmttdicqein")
public suspend fun visibleRange(`value`: AnalysisVisibleRangeOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visibleRange = mapped
}
/**
* @param argument The visibility range for the data zoom scroll bar.
*/
@JvmName("jbeuqtkrmhrgjjpt")
public suspend fun visibleRange(argument: suspend AnalysisVisibleRangeOptionsArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisVisibleRangeOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.visibleRange = mapped
}
internal fun build(): AnalysisScrollBarOptionsArgs = AnalysisScrollBarOptionsArgs(
visibility = visibility,
visibleRange = visibleRange,
)
}