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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateTableFieldOptionsArgs.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.TemplateTableFieldOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property order The order of the field IDs that are configured as field options for a table visual.
 * @property pinnedFieldOptions The settings for the pinned columns of a table visual.
 * @property selectedFieldOptions The field options to be configured to a table.
 */
public data class TemplateTableFieldOptionsArgs(
    public val order: Output>? = null,
    public val pinnedFieldOptions: Output? = null,
    public val selectedFieldOptions: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateTableFieldOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateTableFieldOptionsArgs.builder()
            .order(order?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .pinnedFieldOptions(
                pinnedFieldOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .selectedFieldOptions(
                selectedFieldOptions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

/**
 * Builder for [TemplateTableFieldOptionsArgs].
 */
@PulumiTagMarker
public class TemplateTableFieldOptionsArgsBuilder internal constructor() {
    private var order: Output>? = null

    private var pinnedFieldOptions: Output? = null

    private var selectedFieldOptions: Output>? = null

    /**
     * @param value The order of the field IDs that are configured as field options for a table visual.
     */
    @JvmName("ummnvtxqmlgvsaec")
    public suspend fun order(`value`: Output>) {
        this.order = value
    }

    @JvmName("fcoflrmqrodwyvwl")
    public suspend fun order(vararg values: Output) {
        this.order = Output.all(values.asList())
    }

    /**
     * @param values The order of the field IDs that are configured as field options for a table visual.
     */
    @JvmName("fhvaunvaaxvwqbap")
    public suspend fun order(values: List>) {
        this.order = Output.all(values)
    }

    /**
     * @param value The settings for the pinned columns of a table visual.
     */
    @JvmName("swiyhvisudsdemoe")
    public suspend fun pinnedFieldOptions(`value`: Output) {
        this.pinnedFieldOptions = value
    }

    /**
     * @param value The field options to be configured to a table.
     */
    @JvmName("umbebxbaykdqhfen")
    public suspend fun selectedFieldOptions(`value`: Output>) {
        this.selectedFieldOptions = value
    }

    @JvmName("saaslwyepgtpxrje")
    public suspend fun selectedFieldOptions(vararg values: Output) {
        this.selectedFieldOptions = Output.all(values.asList())
    }

    /**
     * @param values The field options to be configured to a table.
     */
    @JvmName("vuoasculbvonlism")
    public suspend fun selectedFieldOptions(values: List>) {
        this.selectedFieldOptions = Output.all(values)
    }

    /**
     * @param value The order of the field IDs that are configured as field options for a table visual.
     */
    @JvmName("ptorxfeicyfsmaas")
    public suspend fun order(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.order = mapped
    }

    /**
     * @param values The order of the field IDs that are configured as field options for a table visual.
     */
    @JvmName("vkmldxuxlwfutchd")
    public suspend fun order(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.order = mapped
    }

    /**
     * @param value The settings for the pinned columns of a table visual.
     */
    @JvmName("tadpduwjmretwjal")
    public suspend fun pinnedFieldOptions(`value`: TemplateTablePinnedFieldOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.pinnedFieldOptions = mapped
    }

    /**
     * @param argument The settings for the pinned columns of a table visual.
     */
    @JvmName("kckftknjyfccavjt")
    public suspend fun pinnedFieldOptions(argument: suspend TemplateTablePinnedFieldOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateTablePinnedFieldOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.pinnedFieldOptions = mapped
    }

    /**
     * @param value The field options to be configured to a table.
     */
    @JvmName("wirwllbtvicijmuw")
    public suspend fun selectedFieldOptions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.selectedFieldOptions = mapped
    }

    /**
     * @param argument The field options to be configured to a table.
     */
    @JvmName("nldgbonvhksaxbuh")
    public suspend fun selectedFieldOptions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateTableFieldOptionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.selectedFieldOptions = mapped
    }

    /**
     * @param argument The field options to be configured to a table.
     */
    @JvmName("iooakltfnpkefyho")
    public suspend fun selectedFieldOptions(vararg argument: suspend TemplateTableFieldOptionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            TemplateTableFieldOptionArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.selectedFieldOptions = mapped
    }

    /**
     * @param argument The field options to be configured to a table.
     */
    @JvmName("pqynxxxasakitjek")
    public suspend fun selectedFieldOptions(argument: suspend TemplateTableFieldOptionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            TemplateTableFieldOptionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.selectedFieldOptions = mapped
    }

    /**
     * @param values The field options to be configured to a table.
     */
    @JvmName("bgrmbkblouvojsta")
    public suspend fun selectedFieldOptions(vararg values: TemplateTableFieldOptionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.selectedFieldOptions = mapped
    }

    internal fun build(): TemplateTableFieldOptionsArgs = TemplateTableFieldOptionsArgs(
        order = order,
        pinnedFieldOptions = pinnedFieldOptions,
        selectedFieldOptions = selectedFieldOptions,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy