
com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisCustomActionUrlOperationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisCustomActionUrlOperationArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property urlTarget The target of the `CustomActionURLOperation` .
* Valid values are defined as follows:
* - `NEW_TAB` : Opens the target URL in a new browser tab.
* - `NEW_WINDOW` : Opens the target URL in a new browser window.
* - `SAME_TAB` : Opens the target URL in the same browser tab.
* @property urlTemplate THe URL link of the `CustomActionURLOperation` .
*/
public data class AnalysisCustomActionUrlOperationArgs(
public val urlTarget: Output,
public val urlTemplate: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisCustomActionUrlOperationArgs = com.pulumi.awsnative.quicksight.inputs.AnalysisCustomActionUrlOperationArgs.builder()
.urlTarget(urlTarget.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.urlTemplate(urlTemplate.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnalysisCustomActionUrlOperationArgs].
*/
@PulumiTagMarker
public class AnalysisCustomActionUrlOperationArgsBuilder internal constructor() {
private var urlTarget: Output? = null
private var urlTemplate: Output? = null
/**
* @param value The target of the `CustomActionURLOperation` .
* Valid values are defined as follows:
* - `NEW_TAB` : Opens the target URL in a new browser tab.
* - `NEW_WINDOW` : Opens the target URL in a new browser window.
* - `SAME_TAB` : Opens the target URL in the same browser tab.
*/
@JvmName("nicmscqiilpqtejg")
public suspend fun urlTarget(`value`: Output) {
this.urlTarget = value
}
/**
* @param value THe URL link of the `CustomActionURLOperation` .
*/
@JvmName("bduyjfskpcisejol")
public suspend fun urlTemplate(`value`: Output) {
this.urlTemplate = value
}
/**
* @param value The target of the `CustomActionURLOperation` .
* Valid values are defined as follows:
* - `NEW_TAB` : Opens the target URL in a new browser tab.
* - `NEW_WINDOW` : Opens the target URL in a new browser window.
* - `SAME_TAB` : Opens the target URL in the same browser tab.
*/
@JvmName("tsruucgwraiamfcq")
public suspend fun urlTarget(`value`: AnalysisUrlTargetConfiguration) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.urlTarget = mapped
}
/**
* @param value THe URL link of the `CustomActionURLOperation` .
*/
@JvmName("fsilwnlatwowpaev")
public suspend fun urlTemplate(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.urlTemplate = mapped
}
internal fun build(): AnalysisCustomActionUrlOperationArgs = AnalysisCustomActionUrlOperationArgs(
urlTarget = urlTarget ?: throw PulumiNullFieldException("urlTarget"),
urlTemplate = urlTemplate ?: throw PulumiNullFieldException("urlTemplate"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy