com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardVersion.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.DashboardResourceStatus
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Dashboard version.
* @property arn The Amazon Resource Name (ARN) of the resource.
* @property createdTime The time that this dashboard version was created.
* @property dataSetArns The Amazon Resource Numbers (ARNs) for the datasets that are associated with this
* version of the dashboard.
* @property description Description.
* @property errors Errors associated with this dashboard version.
* @property sheets A list of the associated sheets with the unique identifier and name of each sheet.
* @property sourceEntityArn Source entity ARN.
* @property status The HTTP status of the request.
* @property themeArn The ARN of the theme associated with a version of the dashboard.
* @property versionNumber Version number for this version of the dashboard.
*/
public data class DashboardVersion(
public val arn: String? = null,
public val createdTime: String? = null,
public val dataSetArns: List? = null,
public val description: String? = null,
public val errors: List? = null,
public val sheets: List? = null,
public val sourceEntityArn: String? = null,
public val status: DashboardResourceStatus? = null,
public val themeArn: String? = null,
public val versionNumber: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardVersion): DashboardVersion = DashboardVersion(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
createdTime = javaType.createdTime().map({ args0 -> args0 }).orElse(null),
dataSetArns = javaType.dataSetArns().map({ args0 -> args0 }),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
errors = javaType.errors().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardError.Companion.toKotlin(args0)
})
}),
sheets = javaType.sheets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardSheet.Companion.toKotlin(args0)
})
}),
sourceEntityArn = javaType.sourceEntityArn().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DashboardResourceStatus.Companion.toKotlin(args0)
})
}).orElse(null),
themeArn = javaType.themeArn().map({ args0 -> args0 }).orElse(null),
versionNumber = javaType.versionNumber().map({ args0 -> args0 }).orElse(null),
)
}
}