
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateAxisLabelReferenceOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateAxisLabelReferenceOptionsArgs.builder
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 column The column that the axis label is targeted to.
* @property fieldId The field that the axis label is targeted to.
*/
public data class TemplateAxisLabelReferenceOptionsArgs(
public val column: Output,
public val fieldId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateAxisLabelReferenceOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateAxisLabelReferenceOptionsArgs.builder()
.column(column.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fieldId(fieldId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TemplateAxisLabelReferenceOptionsArgs].
*/
@PulumiTagMarker
public class TemplateAxisLabelReferenceOptionsArgsBuilder internal constructor() {
private var column: Output? = null
private var fieldId: Output? = null
/**
* @param value The column that the axis label is targeted to.
*/
@JvmName("wfpgyvdiosllhpmw")
public suspend fun column(`value`: Output) {
this.column = value
}
/**
* @param value The field that the axis label is targeted to.
*/
@JvmName("erdmphaujsngjwwa")
public suspend fun fieldId(`value`: Output) {
this.fieldId = value
}
/**
* @param value The column that the axis label is targeted to.
*/
@JvmName("vxinvdbgdlbiwpep")
public suspend fun column(`value`: TemplateColumnIdentifierArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.column = mapped
}
/**
* @param argument The column that the axis label is targeted to.
*/
@JvmName("vkujmqwdqnbrclux")
public suspend fun column(argument: suspend TemplateColumnIdentifierArgsBuilder.() -> Unit) {
val toBeMapped = TemplateColumnIdentifierArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.column = mapped
}
/**
* @param value The field that the axis label is targeted to.
*/
@JvmName("yftluxnwjdnfgwuc")
public suspend fun fieldId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.fieldId = mapped
}
internal fun build(): TemplateAxisLabelReferenceOptionsArgs =
TemplateAxisLabelReferenceOptionsArgs(
column = column ?: throw PulumiNullFieldException("column"),
fieldId = fieldId ?: throw PulumiNullFieldException("fieldId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy