com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDataFieldSeriesItemArgs.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.AnalysisDataFieldSeriesItemArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisAxisBinding
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 AnalysisDataFieldSeriesItemArgs(
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.AnalysisDataFieldSeriesItemArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisDataFieldSeriesItemArgs.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 [AnalysisDataFieldSeriesItemArgs].
*/
@PulumiTagMarker
public class AnalysisDataFieldSeriesItemArgsBuilder 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("gluqmggpyjgykecb")
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("thkymqvwbuyegfmt")
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("fmvpdmfudthniraw")
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("ucdcwqeopbltglgk")
public suspend fun settings(`value`: Output) {
this.settings = value
}
/**
* @param value The axis that you are binding the field to.
*/
@JvmName("whevjwtesamrdmts")
public suspend fun axisBinding(`value`: AnalysisAxisBinding) {
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("ehipbvsokecbimwn")
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("xuvcfuagmvutgkvt")
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("jjshnnfemcltiogk")
public suspend fun settings(`value`: AnalysisLineChartSeriesSettingsArgs?) {
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("hptcrtjaqtaejdvm")
public suspend fun settings(argument: suspend AnalysisLineChartSeriesSettingsArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisLineChartSeriesSettingsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.settings = mapped
}
internal fun build(): AnalysisDataFieldSeriesItemArgs = AnalysisDataFieldSeriesItemArgs(
axisBinding = axisBinding ?: throw PulumiNullFieldException("axisBinding"),
fieldId = fieldId ?: throw PulumiNullFieldException("fieldId"),
fieldValue = fieldValue,
settings = settings,
)
}