com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardAxisScaleArgs.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.DashboardAxisScaleArgs.builder
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 linear The linear axis scale setup.
* @property logarithmic The logarithmic axis scale setup.
*/
public data class DashboardAxisScaleArgs(
public val linear: Output? = null,
public val logarithmic: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardAxisScaleArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardAxisScaleArgs.builder()
.linear(linear?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.logarithmic(logarithmic?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DashboardAxisScaleArgs].
*/
@PulumiTagMarker
public class DashboardAxisScaleArgsBuilder internal constructor() {
private var linear: Output? = null
private var logarithmic: Output? = null
/**
* @param value The linear axis scale setup.
*/
@JvmName("cmaqiqcnoxaosgyl")
public suspend fun linear(`value`: Output) {
this.linear = value
}
/**
* @param value The logarithmic axis scale setup.
*/
@JvmName("klhsvkrgfkagchpl")
public suspend fun logarithmic(`value`: Output) {
this.logarithmic = value
}
/**
* @param value The linear axis scale setup.
*/
@JvmName("ntjujypbtojjgjmv")
public suspend fun linear(`value`: DashboardAxisLinearScaleArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.linear = mapped
}
/**
* @param argument The linear axis scale setup.
*/
@JvmName("anbcwqaucsestuxq")
public suspend fun linear(argument: suspend DashboardAxisLinearScaleArgsBuilder.() -> Unit) {
val toBeMapped = DashboardAxisLinearScaleArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.linear = mapped
}
/**
* @param value The logarithmic axis scale setup.
*/
@JvmName("mqesobtsnceinmfs")
public suspend fun logarithmic(`value`: DashboardAxisLogarithmicScaleArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.logarithmic = mapped
}
/**
* @param argument The logarithmic axis scale setup.
*/
@JvmName("kviiqqnotbxbmqbe")
public suspend fun logarithmic(argument: suspend DashboardAxisLogarithmicScaleArgsBuilder.() -> Unit) {
val toBeMapped = DashboardAxisLogarithmicScaleArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.logarithmic = mapped
}
internal fun build(): DashboardAxisScaleArgs = DashboardAxisScaleArgs(
linear = linear,
logarithmic = logarithmic,
)
}