com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardReferenceLineDataConfigurationArgs.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.DashboardReferenceLineDataConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardAxisBinding
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardReferenceLineSeriesType
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 axisBinding The axis binding type of the reference line. Choose one of the following options:
* - `PrimaryY`
* - `SecondaryY`
* @property dynamicConfiguration The dynamic configuration of the reference line data configuration.
* @property seriesType The series type of the reference line data configuration. Choose one of the following options:
* - `BAR`
* - `LINE`
* @property staticConfiguration The static data configuration of the reference line data configuration.
*/
public data class DashboardReferenceLineDataConfigurationArgs(
public val axisBinding: Output? = null,
public val dynamicConfiguration: Output? =
null,
public val seriesType: Output? = null,
public val staticConfiguration: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardReferenceLineDataConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardReferenceLineDataConfigurationArgs.builder()
.axisBinding(axisBinding?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.dynamicConfiguration(
dynamicConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.seriesType(seriesType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.staticConfiguration(
staticConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DashboardReferenceLineDataConfigurationArgs].
*/
@PulumiTagMarker
public class DashboardReferenceLineDataConfigurationArgsBuilder internal constructor() {
private var axisBinding: Output? = null
private var dynamicConfiguration: Output? =
null
private var seriesType: Output? = null
private var staticConfiguration: Output? = null
/**
* @param value The axis binding type of the reference line. Choose one of the following options:
* - `PrimaryY`
* - `SecondaryY`
*/
@JvmName("vgoofogrolwtbakk")
public suspend fun axisBinding(`value`: Output) {
this.axisBinding = value
}
/**
* @param value The dynamic configuration of the reference line data configuration.
*/
@JvmName("kkojucytxlulgbxp")
public suspend fun dynamicConfiguration(`value`: Output) {
this.dynamicConfiguration = value
}
/**
* @param value The series type of the reference line data configuration. Choose one of the following options:
* - `BAR`
* - `LINE`
*/
@JvmName("gclwsimfxmsgksee")
public suspend fun seriesType(`value`: Output) {
this.seriesType = value
}
/**
* @param value The static data configuration of the reference line data configuration.
*/
@JvmName("xbsdlfuyhepqgvjf")
public suspend fun staticConfiguration(`value`: Output) {
this.staticConfiguration = value
}
/**
* @param value The axis binding type of the reference line. Choose one of the following options:
* - `PrimaryY`
* - `SecondaryY`
*/
@JvmName("nccyevfakcyasknr")
public suspend fun axisBinding(`value`: DashboardAxisBinding?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.axisBinding = mapped
}
/**
* @param value The dynamic configuration of the reference line data configuration.
*/
@JvmName("wtovkrxlhxlmrgct")
public suspend fun dynamicConfiguration(`value`: DashboardReferenceLineDynamicDataConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dynamicConfiguration = mapped
}
/**
* @param argument The dynamic configuration of the reference line data configuration.
*/
@JvmName("dpoqjxisbqxgxxjy")
public suspend fun dynamicConfiguration(argument: suspend DashboardReferenceLineDynamicDataConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardReferenceLineDynamicDataConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.dynamicConfiguration = mapped
}
/**
* @param value The series type of the reference line data configuration. Choose one of the following options:
* - `BAR`
* - `LINE`
*/
@JvmName("vaawpktnuarmqoxm")
public suspend fun seriesType(`value`: DashboardReferenceLineSeriesType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.seriesType = mapped
}
/**
* @param value The static data configuration of the reference line data configuration.
*/
@JvmName("gjdjiwbppugjevvf")
public suspend fun staticConfiguration(`value`: DashboardReferenceLineStaticDataConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.staticConfiguration = mapped
}
/**
* @param argument The static data configuration of the reference line data configuration.
*/
@JvmName("wfwnweghtojamxmc")
public suspend fun staticConfiguration(argument: suspend DashboardReferenceLineStaticDataConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardReferenceLineStaticDataConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.staticConfiguration = mapped
}
internal fun build(): DashboardReferenceLineDataConfigurationArgs =
DashboardReferenceLineDataConfigurationArgs(
axisBinding = axisBinding,
dynamicConfiguration = dynamicConfiguration,
seriesType = seriesType,
staticConfiguration = staticConfiguration,
)
}