
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateVersion.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.TemplateResourceStatus
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A version of a template.
* @property createdTime The time that this template version was created.
* @property dataSetConfigurations Schema of the dataset identified by the placeholder. Any dashboard created from this
* template should be bound to new datasets matching the same schema described through this
* API operation.
* @property description The description of the template.
* @property errors Errors associated with this template version.
* @property sheets A list of the associated sheets with the unique identifier and name of each sheet.
* @property sourceEntityArn The Amazon Resource Name (ARN) of an analysis or template that was used to create this
* template.
* @property status The status that is associated with the template.
* - `CREATION_IN_PROGRESS`
* - `CREATION_SUCCESSFUL`
* - `CREATION_FAILED`
* - `UPDATE_IN_PROGRESS`
* - `UPDATE_SUCCESSFUL`
* - `UPDATE_FAILED`
* - `DELETED`
* @property themeArn The ARN of the theme associated with this version of the template.
* @property versionNumber The version number of the template version.
*/
public data class TemplateVersion(
public val createdTime: String? = null,
public val dataSetConfigurations: 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: TemplateResourceStatus? = null,
public val themeArn: String? = null,
public val versionNumber: Double? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateVersion): TemplateVersion = TemplateVersion(
createdTime = javaType.createdTime().map({ args0 -> args0 }).orElse(null),
dataSetConfigurations = javaType.dataSetConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDataSetConfiguration.Companion.toKotlin(args0)
})
}),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
errors = javaType.errors().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateError.Companion.toKotlin(args0)
})
}),
sheets = javaType.sheets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateSheet.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.TemplateResourceStatus.Companion.toKotlin(args0)
})
}).orElse(null),
themeArn = javaType.themeArn().map({ args0 -> args0 }).orElse(null),
versionNumber = javaType.versionNumber().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy