com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardVisualCustomActionOperationArgs.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.DashboardVisualCustomActionOperationArgs.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 DashboardVisualCustomActionOperationArgs(
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.DashboardVisualCustomActionOperationArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardVisualCustomActionOperationArgs.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 [DashboardVisualCustomActionOperationArgs].
*/
@PulumiTagMarker
public class DashboardVisualCustomActionOperationArgsBuilder 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("rxkrsanpkccstbqg")
public suspend fun filterOperation(`value`: Output) {
this.filterOperation = value
}
/**
* @param value The navigation operation that navigates between different sheets in the same analysis.
*/
@JvmName("oqwxtegxknknftlw")
public suspend fun navigationOperation(`value`: Output) {
this.navigationOperation = value
}
/**
* @param value The set parameter operation that sets parameters in custom action.
*/
@JvmName("qingiqxmeyrmrygr")
public suspend fun setParametersOperation(`value`: Output) {
this.setParametersOperation = value
}
/**
* @param value The URL operation that opens a link to another webpage.
*/
@JvmName("ytqtjybqnmlvsqfe")
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("iuusykkghfhqqaxg")
public suspend fun filterOperation(`value`: DashboardCustomActionFilterOperationArgs?) {
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("fhvefmjrviyxdcta")
public suspend fun filterOperation(argument: suspend DashboardCustomActionFilterOperationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardCustomActionFilterOperationArgsBuilder().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("tiivfpdcbylyhoqt")
public suspend fun navigationOperation(`value`: DashboardCustomActionNavigationOperationArgs?) {
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("ktdnjumewwnpdlpj")
public suspend fun navigationOperation(argument: suspend DashboardCustomActionNavigationOperationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardCustomActionNavigationOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.navigationOperation = mapped
}
/**
* @param value The set parameter operation that sets parameters in custom action.
*/
@JvmName("wffxuidkwltatdwa")
public suspend fun setParametersOperation(`value`: DashboardCustomActionSetParametersOperationArgs?) {
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("nbumpallfcoxfhes")
public suspend fun setParametersOperation(argument: suspend DashboardCustomActionSetParametersOperationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardCustomActionSetParametersOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.setParametersOperation = mapped
}
/**
* @param value The URL operation that opens a link to another webpage.
*/
@JvmName("pmimsdgxkpjtqblp")
public suspend fun urlOperation(`value`: DashboardCustomActionUrlOperationArgs?) {
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("ftadaulvklgcphjd")
public suspend fun urlOperation(argument: suspend DashboardCustomActionUrlOperationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardCustomActionUrlOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.urlOperation = mapped
}
internal fun build(): DashboardVisualCustomActionOperationArgs =
DashboardVisualCustomActionOperationArgs(
filterOperation = filterOperation,
navigationOperation = navigationOperation,
setParametersOperation = setParametersOperation,
urlOperation = urlOperation,
)
}