com.pulumi.awsnative.wisdom.kotlin.outputs.GetKnowledgeBaseResult.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.wisdom.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property knowledgeBaseArn The Amazon Resource Name (ARN) of the knowledge base.
* @property knowledgeBaseId The ID of the knowledge base.
* @property renderingConfiguration Information about how to render the content.
*/
public data class GetKnowledgeBaseResult(
public val knowledgeBaseArn: String? = null,
public val knowledgeBaseId: String? = null,
public val renderingConfiguration: KnowledgeBaseRenderingConfiguration? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.wisdom.outputs.GetKnowledgeBaseResult): GetKnowledgeBaseResult = GetKnowledgeBaseResult(
knowledgeBaseArn = javaType.knowledgeBaseArn().map({ args0 -> args0 }).orElse(null),
knowledgeBaseId = javaType.knowledgeBaseId().map({ args0 -> args0 }).orElse(null),
renderingConfiguration = javaType.renderingConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.wisdom.kotlin.outputs.KnowledgeBaseRenderingConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}