
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardDataFieldSeriesItemArgs.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.DashboardDataFieldSeriesItemArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardAxisBinding
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property axisBinding The axis that you are binding the field to.
* @property fieldId The field ID of the field that you are setting the axis binding to.
* @property fieldValue The field value of the field that you are setting the axis binding to.
* @property settings The options that determine the presentation of line series associated to the field.
*/
public data class DashboardDataFieldSeriesItemArgs(
public val axisBinding: Output,
public val fieldId: Output,
public val fieldValue: Output? = null,
public val settings: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardDataFieldSeriesItemArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardDataFieldSeriesItemArgs.builder()
.axisBinding(axisBinding.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fieldId(fieldId.applyValue({ args0 -> args0 }))
.fieldValue(fieldValue?.applyValue({ args0 -> args0 }))
.settings(settings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DashboardDataFieldSeriesItemArgs].
*/
@PulumiTagMarker
public class DashboardDataFieldSeriesItemArgsBuilder internal constructor() {
private var axisBinding: Output? = null
private var fieldId: Output? = null
private var fieldValue: Output? = null
private var settings: Output? = null
/**
* @param value The axis that you are binding the field to.
*/
@JvmName("jaqupnhfvlygvgay")
public suspend fun axisBinding(`value`: Output) {
this.axisBinding = value
}
/**
* @param value The field ID of the field that you are setting the axis binding to.
*/
@JvmName("xujgbapwtqbuwwdb")
public suspend fun fieldId(`value`: Output) {
this.fieldId = value
}
/**
* @param value The field value of the field that you are setting the axis binding to.
*/
@JvmName("bytexjoemnxvbxdr")
public suspend fun fieldValue(`value`: Output) {
this.fieldValue = value
}
/**
* @param value The options that determine the presentation of line series associated to the field.
*/
@JvmName("nprugvfgpfauhqtb")
public suspend fun settings(`value`: Output) {
this.settings = value
}
/**
* @param value The axis that you are binding the field to.
*/
@JvmName("lcrlellksfsksmpl")
public suspend fun axisBinding(`value`: DashboardAxisBinding) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.axisBinding = mapped
}
/**
* @param value The field ID of the field that you are setting the axis binding to.
*/
@JvmName("ikvwkiilgogpgxuw")
public suspend fun fieldId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.fieldId = mapped
}
/**
* @param value The field value of the field that you are setting the axis binding to.
*/
@JvmName("vpngsvsbqscureyq")
public suspend fun fieldValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fieldValue = mapped
}
/**
* @param value The options that determine the presentation of line series associated to the field.
*/
@JvmName("qefpyohycjnmvqub")
public suspend fun settings(`value`: DashboardLineChartSeriesSettingsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.settings = mapped
}
/**
* @param argument The options that determine the presentation of line series associated to the field.
*/
@JvmName("wjdtqcfxrkpwmmrn")
public suspend fun settings(argument: suspend DashboardLineChartSeriesSettingsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardLineChartSeriesSettingsArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.settings = mapped
}
internal fun build(): DashboardDataFieldSeriesItemArgs = DashboardDataFieldSeriesItemArgs(
axisBinding = axisBinding ?: throw PulumiNullFieldException("axisBinding"),
fieldId = fieldId ?: throw PulumiNullFieldException("fieldId"),
fieldValue = fieldValue,
settings = settings,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy