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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplatePivotTableDataPathOptionArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property dataPathList The list of data path values for the data path options.
 * @property width String based length that is composed of value and unit in px
 */
public data class TemplatePivotTableDataPathOptionArgs(
    public val dataPathList: Output>,
    public val width: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplatePivotTableDataPathOptionArgs = com.pulumi.awsnative.quicksight.inputs.TemplatePivotTableDataPathOptionArgs.builder()
        .dataPathList(
            dataPathList.applyValue({ args0 ->
                args0.map({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                })
            }),
        )
        .width(width?.applyValue({ args0 -> args0 })).build()
}

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

    private var width: Output? = null

    /**
     * @param value The list of data path values for the data path options.
     */
    @JvmName("yivignrxclgnbtmf")
    public suspend fun dataPathList(`value`: Output>) {
        this.dataPathList = value
    }

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

    /**
     * @param values The list of data path values for the data path options.
     */
    @JvmName("nxoesvilumyidxkj")
    public suspend fun dataPathList(values: List>) {
        this.dataPathList = Output.all(values)
    }

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

    /**
     * @param value The list of data path values for the data path options.
     */
    @JvmName("afgaquaasblqpafc")
    public suspend fun dataPathList(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataPathList = mapped
    }

    /**
     * @param argument The list of data path values for the data path options.
     */
    @JvmName("gpsrpxydultoxlxs")
    public suspend fun dataPathList(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateDataPathValueArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.dataPathList = mapped
    }

    /**
     * @param argument The list of data path values for the data path options.
     */
    @JvmName("ikffatuwclnngfdt")
    public suspend fun dataPathList(vararg argument: suspend TemplateDataPathValueArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            TemplateDataPathValueArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.dataPathList = mapped
    }

    /**
     * @param argument The list of data path values for the data path options.
     */
    @JvmName("ufnwqbiyquwqituq")
    public suspend fun dataPathList(argument: suspend TemplateDataPathValueArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TemplateDataPathValueArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.dataPathList = mapped
    }

    /**
     * @param values The list of data path values for the data path options.
     */
    @JvmName("exorxrdvkgyqdkmk")
    public suspend fun dataPathList(vararg values: TemplateDataPathValueArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataPathList = mapped
    }

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

    internal fun build(): TemplatePivotTableDataPathOptionArgs = TemplatePivotTableDataPathOptionArgs(
        dataPathList = dataPathList ?: throw PulumiNullFieldException("dataPathList"),
        width = width,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy