All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisAxisLabelReferenceOptionsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.AnalysisAxisLabelReferenceOptionsArgs.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 AnalysisAxisLabelReferenceOptionsArgs(
    public val column: Output,
    public val fieldId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisAxisLabelReferenceOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisAxisLabelReferenceOptionsArgs.builder()
            .column(column.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .fieldId(fieldId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AnalysisAxisLabelReferenceOptionsArgs].
 */
@PulumiTagMarker
public class AnalysisAxisLabelReferenceOptionsArgsBuilder internal constructor() {
    private var column: Output? = null

    private var fieldId: Output? = null

    /**
     * @param value The column that the axis label is targeted to.
     */
    @JvmName("anpobbrdebhjiwbd")
    public suspend fun column(`value`: Output) {
        this.column = value
    }

    /**
     * @param value The field that the axis label is targeted to.
     */
    @JvmName("txchwpgrkghapuhj")
    public suspend fun fieldId(`value`: Output) {
        this.fieldId = value
    }

    /**
     * @param value The column that the axis label is targeted to.
     */
    @JvmName("rbjvojkjocnispif")
    public suspend fun column(`value`: AnalysisColumnIdentifierArgs) {
        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("uplbpcmxtfdprjbg")
    public suspend fun column(argument: suspend AnalysisColumnIdentifierArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisColumnIdentifierArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.column = mapped
    }

    /**
     * @param value The field that the axis label is targeted to.
     */
    @JvmName("hplurmyktshsrakk")
    public suspend fun fieldId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fieldId = mapped
    }

    internal fun build(): AnalysisAxisLabelReferenceOptionsArgs =
        AnalysisAxisLabelReferenceOptionsArgs(
            column = column ?: throw PulumiNullFieldException("column"),
            fieldId = fieldId ?: throw PulumiNullFieldException("fieldId"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy