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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisTableFieldOptionArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisVisibility
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 AnalysisTableFieldOptionArgs(
    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.AnalysisTableFieldOptionArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisTableFieldOptionArgs.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 [AnalysisTableFieldOptionArgs].
 */
@PulumiTagMarker
public class AnalysisTableFieldOptionArgsBuilder 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("ospsvgnibqjysqvj")
    public suspend fun customLabel(`value`: Output) {
        this.customLabel = value
    }

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

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

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

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

    /**
     * @param value The custom label for a table field.
     */
    @JvmName("xpsimyafexifrovm")
    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("hovpjymjyfyhcdqx")
    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("drnungjnxofittot")
    public suspend fun urlStyling(`value`: AnalysisTableFieldUrlConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.urlStyling = mapped
    }

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

    /**
     * @param value The visibility of a table field.
     */
    @JvmName("tmefweerbodskmll")
    public suspend fun visibility(`value`: AnalysisVisibility?) {
        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("ldvmnrjbknjoospi")
    public suspend fun width(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.width = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy