com.pulumi.awsnative.frauddetector.kotlin.outputs.GetLabelResult.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.frauddetector.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The label ARN.
* @property createdTime The timestamp when the label was created.
* @property description The label description.
* @property lastUpdatedTime The timestamp when the label was last updated.
* @property tags Tags associated with this label.
*/
public data class GetLabelResult(
public val arn: String? = null,
public val createdTime: String? = null,
public val description: String? = null,
public val lastUpdatedTime: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.frauddetector.outputs.GetLabelResult): GetLabelResult = GetLabelResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
createdTime = javaType.createdTime().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
lastUpdatedTime = javaType.lastUpdatedTime().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}