All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.outputs.TopicNamedEntity.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property definition The definition of a named entity.
 * @property entityDescription The description of the named entity.
 * @property entityName The name of the named entity.
 * @property entitySynonyms The other names or aliases for the named entity.
 * @property semanticEntityType The type of named entity that a topic represents.
 */
public data class TopicNamedEntity(
    public val definition: List? = null,
    public val entityDescription: String? = null,
    public val entityName: String,
    public val entitySynonyms: List? = null,
    public val semanticEntityType: TopicSemanticEntityType? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TopicNamedEntity): TopicNamedEntity = TopicNamedEntity(
            definition = javaType.definition().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TopicNamedEntityDefinition.Companion.toKotlin(args0)
                })
            }),
            entityDescription = javaType.entityDescription().map({ args0 -> args0 }).orElse(null),
            entityName = javaType.entityName(),
            entitySynonyms = javaType.entitySynonyms().map({ args0 -> args0 }),
            semanticEntityType = javaType.semanticEntityType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TopicSemanticEntityType.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy