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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSameSheetTargetVisualConfigurationArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisSameSheetTargetVisualConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisTargetVisualOptions
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 AnalysisSameSheetTargetVisualConfigurationArgs(
    public val targetVisualOptions: Output? = null,
    public val targetVisuals: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisSameSheetTargetVisualConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisSameSheetTargetVisualConfigurationArgs.builder()
            .targetVisualOptions(
                targetVisualOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .targetVisuals(targetVisuals?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [AnalysisSameSheetTargetVisualConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisSameSheetTargetVisualConfigurationArgsBuilder 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("cyamsdmwwvhadnum")
    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("wxmwbgofqekuosxp")
    public suspend fun targetVisuals(`value`: Output>) {
        this.targetVisuals = value
    }

    @JvmName("ngdetsmicmqvhxwf")
    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("fkoatavyocxigvtv")
    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("ooeiipyfvohokoam")
    public suspend fun targetVisualOptions(`value`: AnalysisTargetVisualOptions?) {
        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("moulcaetohegburb")
    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("kcyjiopdxnnuoywd")
    public suspend fun targetVisuals(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.targetVisuals = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy