com.pulumi.awsnative.quicksight.kotlin.outputs.GetDashboardResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the resource.
* @property createdTime The time that this dashboard was created.
* @property lastPublishedTime The last time that this dashboard was published.
* @property lastUpdatedTime The last time that this dashboard was updated.
* @property linkEntities A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.
* @property name The display name of the dashboard.
* @property permissions A structure that contains the permissions of the dashboard. You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.
* To specify no permissions, omit the permissions list.
* @property tags Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
* @property version
*/
public data class GetDashboardResult(
public val arn: String? = null,
public val createdTime: String? = null,
public val lastPublishedTime: String? = null,
public val lastUpdatedTime: String? = null,
public val linkEntities: List? = null,
public val name: String? = null,
public val permissions: List? = null,
public val tags: List? = null,
public val version: DashboardVersion? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.GetDashboardResult): GetDashboardResult = GetDashboardResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
createdTime = javaType.createdTime().map({ args0 -> args0 }).orElse(null),
lastPublishedTime = javaType.lastPublishedTime().map({ args0 -> args0 }).orElse(null),
lastUpdatedTime = javaType.lastUpdatedTime().map({ args0 -> args0 }).orElse(null),
linkEntities = javaType.linkEntities().map({ args0 -> args0 }),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
permissions = javaType.permissions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardResourcePermission.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
version = javaType.version().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardVersion.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}