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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateSameSheetTargetVisualConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTargetVisualOptions
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property targetVisualOptions The options that choose the target visual in the same sheet.
 * Valid values are defined as follows:
 * - `ALL_VISUALS` : Applies the filter operation to all visuals in the same sheet.
 * @property targetVisuals A list of the target visual IDs that are located in the same sheet of the analysis.
 */
public data class TemplateSameSheetTargetVisualConfigurationArgs(
    public val targetVisualOptions: Output? = null,
    public val targetVisuals: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateSameSheetTargetVisualConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateSameSheetTargetVisualConfigurationArgs.builder()
            .targetVisualOptions(
                targetVisualOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .targetVisuals(targetVisuals?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [TemplateSameSheetTargetVisualConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateSameSheetTargetVisualConfigurationArgsBuilder internal constructor() {
    private var targetVisualOptions: Output? = null

    private var targetVisuals: Output>? = null

    /**
     * @param value The options that choose the target visual in the same sheet.
     * Valid values are defined as follows:
     * - `ALL_VISUALS` : Applies the filter operation to all visuals in the same sheet.
     */
    @JvmName("wgkciuhkrxgmqubf")
    public suspend fun targetVisualOptions(`value`: Output) {
        this.targetVisualOptions = value
    }

    /**
     * @param value A list of the target visual IDs that are located in the same sheet of the analysis.
     */
    @JvmName("egfajosmqceoblqv")
    public suspend fun targetVisuals(`value`: Output>) {
        this.targetVisuals = value
    }

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

    /**
     * @param values A list of the target visual IDs that are located in the same sheet of the analysis.
     */
    @JvmName("auasxwgwcosbwwqh")
    public suspend fun targetVisuals(values: List>) {
        this.targetVisuals = Output.all(values)
    }

    /**
     * @param value The options that choose the target visual in the same sheet.
     * Valid values are defined as follows:
     * - `ALL_VISUALS` : Applies the filter operation to all visuals in the same sheet.
     */
    @JvmName("ghrnqcnpggacuuym")
    public suspend fun targetVisualOptions(`value`: TemplateTargetVisualOptions?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetVisualOptions = mapped
    }

    /**
     * @param value A list of the target visual IDs that are located in the same sheet of the analysis.
     */
    @JvmName("tstvwjylsykgjcmx")
    public suspend fun targetVisuals(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetVisuals = mapped
    }

    /**
     * @param values A list of the target visual IDs that are located in the same sheet of the analysis.
     */
    @JvmName("rvgtbqdtjtwvjdur")
    public suspend fun targetVisuals(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.targetVisuals = mapped
    }

    internal fun build(): TemplateSameSheetTargetVisualConfigurationArgs =
        TemplateSameSheetTargetVisualConfigurationArgs(
            targetVisualOptions = targetVisualOptions,
            targetVisuals = targetVisuals,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy