
com.pulumi.awsnative.quicksight.kotlin.outputs.GetThemeResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.quicksight.kotlin.enums.ThemeType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the theme.
* @property createdTime The date and time that the theme was created.
* @property lastUpdatedTime The date and time that the theme was last updated.
* @property name A display name for the theme.
* @property permissions A valid grouping of resource permissions to apply to the new theme.
* @property tags A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
* @property type Theme type.
* @property version
*/
public data class GetThemeResult(
public val arn: String? = null,
public val createdTime: String? = null,
public val lastUpdatedTime: String? = null,
public val name: String? = null,
public val permissions: List? = null,
public val tags: List? = null,
public val type: ThemeType? = null,
public val version: ThemeVersion? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.GetThemeResult): GetThemeResult = GetThemeResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
createdTime = javaType.createdTime().map({ args0 -> args0 }).orElse(null),
lastUpdatedTime = javaType.lastUpdatedTime().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
permissions = javaType.permissions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.ThemeResourcePermission.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
type = javaType.type().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.ThemeType.Companion.toKotlin(args0)
})
}).orElse(null),
version = javaType.version().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.ThemeVersion.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy