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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableFieldOptionArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisibility
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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property customLabel The custom label of the pivot table field.
 * @property fieldId The field ID of the pivot table field.
 * @property visibility The visibility of the pivot table field.
 */
public data class DashboardPivotTableFieldOptionArgs(
    public val customLabel: Output? = null,
    public val fieldId: Output,
    public val visibility: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableFieldOptionArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableFieldOptionArgs.builder()
            .customLabel(customLabel?.applyValue({ args0 -> args0 }))
            .fieldId(fieldId.applyValue({ args0 -> args0 }))
            .visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardPivotTableFieldOptionArgs].
 */
@PulumiTagMarker
public class DashboardPivotTableFieldOptionArgsBuilder internal constructor() {
    private var customLabel: Output? = null

    private var fieldId: Output? = null

    private var visibility: Output? = null

    /**
     * @param value The custom label of the pivot table field.
     */
    @JvmName("yhgenrqvmwkxxikr")
    public suspend fun customLabel(`value`: Output) {
        this.customLabel = value
    }

    /**
     * @param value The field ID of the pivot table field.
     */
    @JvmName("dwqepkoanfwdnwqy")
    public suspend fun fieldId(`value`: Output) {
        this.fieldId = value
    }

    /**
     * @param value The visibility of the pivot table field.
     */
    @JvmName("nvpvwqmhtcepcnsl")
    public suspend fun visibility(`value`: Output) {
        this.visibility = value
    }

    /**
     * @param value The custom label of the pivot table field.
     */
    @JvmName("jkyqxmrvwqlavjwk")
    public suspend fun customLabel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.customLabel = mapped
    }

    /**
     * @param value The field ID of the pivot table field.
     */
    @JvmName("mgortaouitkrrkgm")
    public suspend fun fieldId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fieldId = mapped
    }

    /**
     * @param value The visibility of the pivot table field.
     */
    @JvmName("wxrrlfqvcylqukxt")
    public suspend fun visibility(`value`: DashboardVisibility?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visibility = mapped
    }

    internal fun build(): DashboardPivotTableFieldOptionArgs = DashboardPivotTableFieldOptionArgs(
        customLabel = customLabel,
        fieldId = fieldId ?: throw PulumiNullFieldException("fieldId"),
        visibility = visibility,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy