![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardVisualCustomAction.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisualCustomActionTrigger
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardWidgetStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property actionOperations A list of `VisualCustomActionOperations` .
* This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
* @property customActionId The ID of the `VisualCustomAction` .
* @property name The name of the `VisualCustomAction` .
* @property status The status of the `VisualCustomAction` .
* @property trigger The trigger of the `VisualCustomAction` .
* Valid values are defined as follows:
* - `DATA_POINT_CLICK` : Initiates a custom action by a left pointer click on a data point.
* - `DATA_POINT_MENU` : Initiates a custom action by right pointer click from the menu.
*/
public data class DashboardVisualCustomAction(
public val actionOperations: List,
public val customActionId: String,
public val name: String,
public val status: DashboardWidgetStatus? = null,
public val trigger: DashboardVisualCustomActionTrigger,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardVisualCustomAction): DashboardVisualCustomAction = DashboardVisualCustomAction(
actionOperations = javaType.actionOperations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardVisualCustomActionOperation.Companion.toKotlin(args0)
})
}),
customActionId = javaType.customActionId(),
name = javaType.name(),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardWidgetStatus.Companion.toKotlin(args0)
})
}).orElse(null),
trigger = javaType.trigger().let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardVisualCustomActionTrigger.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy