
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardError.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.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardErrorType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Dashboard error.
* @property message Message.
* @property type Type.
* @property violatedEntities Lists the violated entities that caused the dashboard error.
*/
public data class DashboardError(
public val message: String? = null,
public val type: DashboardErrorType? = null,
public val violatedEntities: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardError): DashboardError = DashboardError(
message = javaType.message().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardErrorType.Companion.toKotlin(args0)
})
}).orElse(null),
violatedEntities = javaType.violatedEntities().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardEntity.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy