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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateVisualCustomActionOperationArgs.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.TemplateVisualCustomActionOperationArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property filterOperation The filter operation that filters data included in a visual or in an entire sheet.
 * @property navigationOperation The navigation operation that navigates between different sheets in the same analysis.
 * @property setParametersOperation The set parameter operation that sets parameters in custom action.
 * @property urlOperation The URL operation that opens a link to another webpage.
 */
public data class TemplateVisualCustomActionOperationArgs(
    public val filterOperation: Output? = null,
    public val navigationOperation: Output? = null,
    public val setParametersOperation: Output? = null,
    public val urlOperation: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateVisualCustomActionOperationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateVisualCustomActionOperationArgs.builder()
            .filterOperation(filterOperation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .navigationOperation(
                navigationOperation?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .setParametersOperation(
                setParametersOperation?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .urlOperation(urlOperation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [TemplateVisualCustomActionOperationArgs].
 */
@PulumiTagMarker
public class TemplateVisualCustomActionOperationArgsBuilder internal constructor() {
    private var filterOperation: Output? = null

    private var navigationOperation: Output? = null

    private var setParametersOperation: Output? = null

    private var urlOperation: Output? = null

    /**
     * @param value The filter operation that filters data included in a visual or in an entire sheet.
     */
    @JvmName("luylmxskluxmapqt")
    public suspend fun filterOperation(`value`: Output) {
        this.filterOperation = value
    }

    /**
     * @param value The navigation operation that navigates between different sheets in the same analysis.
     */
    @JvmName("cpomlhtpmnwoogkm")
    public suspend fun navigationOperation(`value`: Output) {
        this.navigationOperation = value
    }

    /**
     * @param value The set parameter operation that sets parameters in custom action.
     */
    @JvmName("aqaauehefksliiqp")
    public suspend fun setParametersOperation(`value`: Output) {
        this.setParametersOperation = value
    }

    /**
     * @param value The URL operation that opens a link to another webpage.
     */
    @JvmName("hshrfitfppsnrwkp")
    public suspend fun urlOperation(`value`: Output) {
        this.urlOperation = value
    }

    /**
     * @param value The filter operation that filters data included in a visual or in an entire sheet.
     */
    @JvmName("bymhaxddrqfyvukn")
    public suspend fun filterOperation(`value`: TemplateCustomActionFilterOperationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.filterOperation = mapped
    }

    /**
     * @param argument The filter operation that filters data included in a visual or in an entire sheet.
     */
    @JvmName("vagjyqtjadsnohmn")
    public suspend fun filterOperation(argument: suspend TemplateCustomActionFilterOperationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateCustomActionFilterOperationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.filterOperation = mapped
    }

    /**
     * @param value The navigation operation that navigates between different sheets in the same analysis.
     */
    @JvmName("yffyrkqsakmtghqu")
    public suspend fun navigationOperation(`value`: TemplateCustomActionNavigationOperationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.navigationOperation = mapped
    }

    /**
     * @param argument The navigation operation that navigates between different sheets in the same analysis.
     */
    @JvmName("psgtwqpthkpoaqac")
    public suspend fun navigationOperation(argument: suspend TemplateCustomActionNavigationOperationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateCustomActionNavigationOperationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.navigationOperation = mapped
    }

    /**
     * @param value The set parameter operation that sets parameters in custom action.
     */
    @JvmName("jyfbwvdsjarysnao")
    public suspend fun setParametersOperation(`value`: TemplateCustomActionSetParametersOperationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.setParametersOperation = mapped
    }

    /**
     * @param argument The set parameter operation that sets parameters in custom action.
     */
    @JvmName("wihdxiluhmlrxvyu")
    public suspend fun setParametersOperation(argument: suspend TemplateCustomActionSetParametersOperationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateCustomActionSetParametersOperationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.setParametersOperation = mapped
    }

    /**
     * @param value The URL operation that opens a link to another webpage.
     */
    @JvmName("nmqdrpnkiwvtlehd")
    public suspend fun urlOperation(`value`: TemplateCustomActionUrlOperationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.urlOperation = mapped
    }

    /**
     * @param argument The URL operation that opens a link to another webpage.
     */
    @JvmName("tmdvwannhwlogugk")
    public suspend fun urlOperation(argument: suspend TemplateCustomActionUrlOperationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateCustomActionUrlOperationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.urlOperation = mapped
    }

    internal fun build(): TemplateVisualCustomActionOperationArgs =
        TemplateVisualCustomActionOperationArgs(
            filterOperation = filterOperation,
            navigationOperation = navigationOperation,
            setParametersOperation = setParametersOperation,
            urlOperation = urlOperation,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy