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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSheetVisualScopingConfigurationArgs.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.AnalysisSheetVisualScopingConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisFilterVisualScope
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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property scope The scope of the applied entities. Choose one of the following options:
 * - `ALL_VISUALS`
 * - `SELECTED_VISUALS`
 * @property sheetId The selected sheet that the filter is applied to.
 * @property visualIds The selected visuals that the filter is applied to.
 */
public data class AnalysisSheetVisualScopingConfigurationArgs(
    public val scope: Output,
    public val sheetId: Output,
    public val visualIds: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisSheetVisualScopingConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisSheetVisualScopingConfigurationArgs.builder()
            .scope(scope.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .sheetId(sheetId.applyValue({ args0 -> args0 }))
            .visualIds(visualIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [AnalysisSheetVisualScopingConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisSheetVisualScopingConfigurationArgsBuilder internal constructor() {
    private var scope: Output? = null

    private var sheetId: Output? = null

    private var visualIds: Output>? = null

    /**
     * @param value The scope of the applied entities. Choose one of the following options:
     * - `ALL_VISUALS`
     * - `SELECTED_VISUALS`
     */
    @JvmName("whtqmwsirwyjdyxn")
    public suspend fun scope(`value`: Output) {
        this.scope = value
    }

    /**
     * @param value The selected sheet that the filter is applied to.
     */
    @JvmName("satectkefbxfrjoa")
    public suspend fun sheetId(`value`: Output) {
        this.sheetId = value
    }

    /**
     * @param value The selected visuals that the filter is applied to.
     */
    @JvmName("udhjnsvisgkovdwq")
    public suspend fun visualIds(`value`: Output>) {
        this.visualIds = value
    }

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

    /**
     * @param values The selected visuals that the filter is applied to.
     */
    @JvmName("gisllihpukqouukq")
    public suspend fun visualIds(values: List>) {
        this.visualIds = Output.all(values)
    }

    /**
     * @param value The scope of the applied entities. Choose one of the following options:
     * - `ALL_VISUALS`
     * - `SELECTED_VISUALS`
     */
    @JvmName("xvagsimqlhrmhffo")
    public suspend fun scope(`value`: AnalysisFilterVisualScope) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.scope = mapped
    }

    /**
     * @param value The selected sheet that the filter is applied to.
     */
    @JvmName("cjsrmnxykmoqfwrn")
    public suspend fun sheetId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sheetId = mapped
    }

    /**
     * @param value The selected visuals that the filter is applied to.
     */
    @JvmName("ekiiuqehcboevvfk")
    public suspend fun visualIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visualIds = mapped
    }

    /**
     * @param values The selected visuals that the filter is applied to.
     */
    @JvmName("dxwvmrjpygpivnqg")
    public suspend fun visualIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.visualIds = mapped
    }

    internal fun build(): AnalysisSheetVisualScopingConfigurationArgs =
        AnalysisSheetVisualScopingConfigurationArgs(
            scope = scope ?: throw PulumiNullFieldException("scope"),
            sheetId = sheetId ?: throw PulumiNullFieldException("sheetId"),
            visualIds = visualIds,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy