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

com.pulumi.awsnative.wisdom.kotlin.outputs.GetKnowledgeBaseResult.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.11.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy