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

com.pulumi.awsnative.wisdom.kotlin.inputs.GetKnowledgeBasePlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.wisdom.kotlin.inputs

import com.pulumi.awsnative.wisdom.inputs.GetKnowledgeBasePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property knowledgeBaseId The ID of the knowledge base.
 */
public data class GetKnowledgeBasePlainArgs(
    public val knowledgeBaseId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.wisdom.inputs.GetKnowledgeBasePlainArgs =
        com.pulumi.awsnative.wisdom.inputs.GetKnowledgeBasePlainArgs.builder()
            .knowledgeBaseId(knowledgeBaseId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetKnowledgeBasePlainArgs].
 */
@PulumiTagMarker
public class GetKnowledgeBasePlainArgsBuilder internal constructor() {
    private var knowledgeBaseId: String? = null

    /**
     * @param value The ID of the knowledge base.
     */
    @JvmName("bkqrckwdsktrpplu")
    public suspend fun knowledgeBaseId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.knowledgeBaseId = mapped
    }

    internal fun build(): GetKnowledgeBasePlainArgs = GetKnowledgeBasePlainArgs(
        knowledgeBaseId = knowledgeBaseId ?: throw PulumiNullFieldException("knowledgeBaseId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy