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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardTableFieldLinkConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardUrlTargetConfiguration
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 DashboardTableFieldLinkConfigurationArgs(
    public val content: Output,
    public val target: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardTableFieldLinkConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardTableFieldLinkConfigurationArgs.builder()
            .content(content.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .target(target.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardTableFieldLinkConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardTableFieldLinkConfigurationArgsBuilder 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("xrjkdsfirmwgimnp")
    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("nrikwuwuhomlcswm")
    public suspend fun target(`value`: Output) {
        this.target = value
    }

    /**
     * @param value The URL content (text, icon) for the table link configuration.
     */
    @JvmName("wcrgftqvecxialox")
    public suspend fun content(`value`: DashboardTableFieldLinkContentConfigurationArgs) {
        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("vvamomamtgopdtgk")
    public suspend fun content(argument: suspend DashboardTableFieldLinkContentConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardTableFieldLinkContentConfigurationArgsBuilder().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("rkukmxpneaddimpm")
    public suspend fun target(`value`: DashboardUrlTargetConfiguration) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.target = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy