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

com.pulumi.awsnative.kendra.kotlin.inputs.GetFaqPlainArgs.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.kendra.kotlin.inputs

import com.pulumi.awsnative.kendra.inputs.GetFaqPlainArgs.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 id The identifier for the FAQ. For example:
 * `f61995a6-cd5c-4e99-9cfc-58816d8bfaa7`
 * @property indexId Index ID
 */
public data class GetFaqPlainArgs(
    public val id: String,
    public val indexId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kendra.inputs.GetFaqPlainArgs =
        com.pulumi.awsnative.kendra.inputs.GetFaqPlainArgs.builder()
            .id(id.let({ args0 -> args0 }))
            .indexId(indexId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetFaqPlainArgs].
 */
@PulumiTagMarker
public class GetFaqPlainArgsBuilder internal constructor() {
    private var id: String? = null

    private var indexId: String? = null

    /**
     * @param value The identifier for the FAQ. For example:
     * `f61995a6-cd5c-4e99-9cfc-58816d8bfaa7`
     */
    @JvmName("thbignmpowonpfhd")
    public suspend fun id(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.id = mapped
    }

    /**
     * @param value Index ID
     */
    @JvmName("ufvvsmbynyxmtesp")
    public suspend fun indexId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.indexId = mapped
    }

    internal fun build(): GetFaqPlainArgs = GetFaqPlainArgs(
        id = id ?: throw PulumiNullFieldException("id"),
        indexId = indexId ?: throw PulumiNullFieldException("indexId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy