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

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

/**
 *
 * @property content The URL content (text, icon) for the table link configuration.
 * @property target The URL target (new tab, new window, same tab) for the table link configuration.
 */
public data class AnalysisTableFieldLinkConfigurationArgs(
    public val content: Output,
    public val target: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisTableFieldLinkConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisTableFieldLinkConfigurationArgs.builder()
            .content(content.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .target(target.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AnalysisTableFieldLinkConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisTableFieldLinkConfigurationArgsBuilder internal constructor() {
    private var content: Output? = null

    private var target: Output? = null

    /**
     * @param value The URL content (text, icon) for the table link configuration.
     */
    @JvmName("jydksroxupgkcwsp")
    public suspend fun content(`value`: Output) {
        this.content = value
    }

    /**
     * @param value The URL target (new tab, new window, same tab) for the table link configuration.
     */
    @JvmName("nfpdsdnxximlxeuv")
    public suspend fun target(`value`: Output) {
        this.target = value
    }

    /**
     * @param value The URL content (text, icon) for the table link configuration.
     */
    @JvmName("ysarhkvythmhuqeq")
    public suspend fun content(`value`: AnalysisTableFieldLinkContentConfigurationArgs) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.content = mapped
    }

    /**
     * @param argument The URL content (text, icon) for the table link configuration.
     */
    @JvmName("jtfxrdjaktxctoiq")
    public suspend fun content(argument: suspend AnalysisTableFieldLinkContentConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTableFieldLinkContentConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.content = mapped
    }

    /**
     * @param value The URL target (new tab, new window, same tab) for the table link configuration.
     */
    @JvmName("acqywlcjknxmcjyy")
    public suspend fun target(`value`: AnalysisUrlTargetConfiguration) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.target = mapped
    }

    internal fun build(): AnalysisTableFieldLinkConfigurationArgs =
        AnalysisTableFieldLinkConfigurationArgs(
            content = content ?: throw PulumiNullFieldException("content"),
            target = target ?: throw PulumiNullFieldException("target"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy