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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.DashboardTableFieldOptionArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property customLabel The custom label for a table field.
 * @property fieldId The field ID for a table field.
 * @property urlStyling The URL configuration for a table field.
 * @property visibility The visibility of a table field.
 * @property width String based length that is composed of value and unit in px
 */
public data class DashboardTableFieldOptionArgs(
    public val customLabel: Output? = null,
    public val fieldId: Output,
    public val urlStyling: Output? = null,
    public val visibility: Output? = null,
    public val width: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardTableFieldOptionArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardTableFieldOptionArgs.builder()
            .customLabel(customLabel?.applyValue({ args0 -> args0 }))
            .fieldId(fieldId.applyValue({ args0 -> args0 }))
            .urlStyling(urlStyling?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .visibility(visibility?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .width(width?.applyValue({ args0 -> args0 })).build()
}

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

    private var fieldId: Output? = null

    private var urlStyling: Output? = null

    private var visibility: Output? = null

    private var width: Output? = null

    /**
     * @param value The custom label for a table field.
     */
    @JvmName("hcugujbekcytmyfk")
    public suspend fun customLabel(`value`: Output) {
        this.customLabel = value
    }

    /**
     * @param value The field ID for a table field.
     */
    @JvmName("sjqfetjahyanbalm")
    public suspend fun fieldId(`value`: Output) {
        this.fieldId = value
    }

    /**
     * @param value The URL configuration for a table field.
     */
    @JvmName("wwfuhspxgjtgolyc")
    public suspend fun urlStyling(`value`: Output) {
        this.urlStyling = value
    }

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

    /**
     * @param value String based length that is composed of value and unit in px
     */
    @JvmName("kbbhkbstqsluaiut")
    public suspend fun width(`value`: Output) {
        this.width = value
    }

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

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

    /**
     * @param value The URL configuration for a table field.
     */
    @JvmName("wbxrgrigbqgeymbh")
    public suspend fun urlStyling(`value`: DashboardTableFieldUrlConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.urlStyling = mapped
    }

    /**
     * @param argument The URL configuration for a table field.
     */
    @JvmName("uabvxbskdtbymdeg")
    public suspend fun urlStyling(argument: suspend DashboardTableFieldUrlConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardTableFieldUrlConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.urlStyling = mapped
    }

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

    /**
     * @param value String based length that is composed of value and unit in px
     */
    @JvmName("xpwkqtflhjymnxbm")
    public suspend fun width(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.width = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy