com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardCustomContentVisualArgs.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.DashboardCustomContentVisualArgs.builder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property actions The list of custom actions that are configured for a visual.
* @property chartConfiguration The configuration of a `CustomContentVisual` .
* @property dataSetIdentifier The dataset that is used to create the custom content visual. You can't create a visual without a dataset.
* @property subtitle The subtitle that is displayed on the visual.
* @property title The title that is displayed on the visual.
* @property visualId The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.
*/
public data class DashboardCustomContentVisualArgs(
public val actions: Output>? = null,
public val chartConfiguration: Output? = null,
public val dataSetIdentifier: Output,
public val subtitle: Output? = null,
public val title: Output? = null,
public val visualId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardCustomContentVisualArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardCustomContentVisualArgs.builder()
.actions(
actions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.chartConfiguration(
chartConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.dataSetIdentifier(dataSetIdentifier.applyValue({ args0 -> args0 }))
.subtitle(subtitle?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.title(title?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.visualId(visualId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DashboardCustomContentVisualArgs].
*/
@PulumiTagMarker
public class DashboardCustomContentVisualArgsBuilder internal constructor() {
private var actions: Output>? = null
private var chartConfiguration: Output? = null
private var dataSetIdentifier: Output? = null
private var subtitle: Output? = null
private var title: Output? = null
private var visualId: Output? = null
/**
* @param value The list of custom actions that are configured for a visual.
*/
@JvmName("vjmjhcmcmqnwxirv")
public suspend fun actions(`value`: Output>) {
this.actions = value
}
@JvmName("pacnkxyerhemplnl")
public suspend fun actions(vararg values: Output) {
this.actions = Output.all(values.asList())
}
/**
* @param values The list of custom actions that are configured for a visual.
*/
@JvmName("simbkaylejcanbry")
public suspend fun actions(values: List