com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisVisualCustomActionOperationArgs.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.AnalysisVisualCustomActionOperationArgs.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 AnalysisVisualCustomActionOperationArgs(
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.AnalysisVisualCustomActionOperationArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisVisualCustomActionOperationArgs.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 [AnalysisVisualCustomActionOperationArgs].
*/
@PulumiTagMarker
public class AnalysisVisualCustomActionOperationArgsBuilder 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("vdxpmmblyqxvtbau")
public suspend fun filterOperation(`value`: Output) {
this.filterOperation = value
}
/**
* @param value The navigation operation that navigates between different sheets in the same analysis.
*/
@JvmName("dsagsjwfvssgapsx")
public suspend fun navigationOperation(`value`: Output) {
this.navigationOperation = value
}
/**
* @param value The set parameter operation that sets parameters in custom action.
*/
@JvmName("ldvhgqmjkpjqkxbf")
public suspend fun setParametersOperation(`value`: Output) {
this.setParametersOperation = value
}
/**
* @param value The URL operation that opens a link to another webpage.
*/
@JvmName("ydsmfmmhelbnscbp")
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("eemqbfiokblirfoo")
public suspend fun filterOperation(`value`: AnalysisCustomActionFilterOperationArgs?) {
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("eobxbqsfnbpoiukb")
public suspend fun filterOperation(argument: suspend AnalysisCustomActionFilterOperationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisCustomActionFilterOperationArgsBuilder().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("gomwbvonxhhcilpb")
public suspend fun navigationOperation(`value`: AnalysisCustomActionNavigationOperationArgs?) {
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("midrmifvhfvfsxfj")
public suspend fun navigationOperation(argument: suspend AnalysisCustomActionNavigationOperationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisCustomActionNavigationOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.navigationOperation = mapped
}
/**
* @param value The set parameter operation that sets parameters in custom action.
*/
@JvmName("myfmckgimdwfxuka")
public suspend fun setParametersOperation(`value`: AnalysisCustomActionSetParametersOperationArgs?) {
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("snsgadhfmaynldqi")
public suspend fun setParametersOperation(argument: suspend AnalysisCustomActionSetParametersOperationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisCustomActionSetParametersOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.setParametersOperation = mapped
}
/**
* @param value The URL operation that opens a link to another webpage.
*/
@JvmName("laqhvcgwqafuxocy")
public suspend fun urlOperation(`value`: AnalysisCustomActionUrlOperationArgs?) {
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("qavpsfoqpyplbrdx")
public suspend fun urlOperation(argument: suspend AnalysisCustomActionUrlOperationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisCustomActionUrlOperationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.urlOperation = mapped
}
internal fun build(): AnalysisVisualCustomActionOperationArgs =
AnalysisVisualCustomActionOperationArgs(
filterOperation = filterOperation,
navigationOperation = navigationOperation,
setParametersOperation = setParametersOperation,
urlOperation = urlOperation,
)
}