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

com.pulumi.aws.kendra.kotlin.inputs.ExperienceConfigurationContentSourceConfigurationArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.kendra.kotlin.inputs

import com.pulumi.aws.kendra.inputs.ExperienceConfigurationContentSourceConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property dataSourceIds The identifiers of the data sources you want to use for your Amazon Kendra experience. Maximum number of 100 items.
 * @property directPutContent Whether to use documents you indexed directly using the `BatchPutDocument API`. Defaults to `false`.
 * @property faqIds The identifier of the FAQs that you want to use for your Amazon Kendra experience. Maximum number of 100 items.
 */
public data class ExperienceConfigurationContentSourceConfigurationArgs(
    public val dataSourceIds: Output>? = null,
    public val directPutContent: Output? = null,
    public val faqIds: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.kendra.inputs.ExperienceConfigurationContentSourceConfigurationArgs =
        com.pulumi.aws.kendra.inputs.ExperienceConfigurationContentSourceConfigurationArgs.builder()
            .dataSourceIds(dataSourceIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .directPutContent(directPutContent?.applyValue({ args0 -> args0 }))
            .faqIds(faqIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [ExperienceConfigurationContentSourceConfigurationArgs].
 */
@PulumiTagMarker
public class ExperienceConfigurationContentSourceConfigurationArgsBuilder internal constructor() {
    private var dataSourceIds: Output>? = null

    private var directPutContent: Output? = null

    private var faqIds: Output>? = null

    /**
     * @param value The identifiers of the data sources you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     */
    @JvmName("mnrbimymirrexfoc")
    public suspend fun dataSourceIds(`value`: Output>) {
        this.dataSourceIds = value
    }

    @JvmName("cavxlfguihfsnsob")
    public suspend fun dataSourceIds(vararg values: Output) {
        this.dataSourceIds = Output.all(values.asList())
    }

    /**
     * @param values The identifiers of the data sources you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     */
    @JvmName("napvehdrbnlifaiq")
    public suspend fun dataSourceIds(values: List>) {
        this.dataSourceIds = Output.all(values)
    }

    /**
     * @param value Whether to use documents you indexed directly using the `BatchPutDocument API`. Defaults to `false`.
     */
    @JvmName("olecqueufaxuevlq")
    public suspend fun directPutContent(`value`: Output) {
        this.directPutContent = value
    }

    /**
     * @param value The identifier of the FAQs that you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     */
    @JvmName("weaihxdqyosvrsyq")
    public suspend fun faqIds(`value`: Output>) {
        this.faqIds = value
    }

    @JvmName("cwtypgeshhuvlmkp")
    public suspend fun faqIds(vararg values: Output) {
        this.faqIds = Output.all(values.asList())
    }

    /**
     * @param values The identifier of the FAQs that you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     */
    @JvmName("lawxmeoeqnduqrha")
    public suspend fun faqIds(values: List>) {
        this.faqIds = Output.all(values)
    }

    /**
     * @param value The identifiers of the data sources you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     */
    @JvmName("wvjlyjhdxpuxckdn")
    public suspend fun dataSourceIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataSourceIds = mapped
    }

    /**
     * @param values The identifiers of the data sources you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     */
    @JvmName("wwxwxjptmevaxnhq")
    public suspend fun dataSourceIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataSourceIds = mapped
    }

    /**
     * @param value Whether to use documents you indexed directly using the `BatchPutDocument API`. Defaults to `false`.
     */
    @JvmName("ouxyholqnkbobgty")
    public suspend fun directPutContent(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.directPutContent = mapped
    }

    /**
     * @param value The identifier of the FAQs that you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     */
    @JvmName("oxeuwqjekjyswepp")
    public suspend fun faqIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.faqIds = mapped
    }

    /**
     * @param values The identifier of the FAQs that you want to use for your Amazon Kendra experience. Maximum number of 100 items.
     */
    @JvmName("kugpsomvkkvpyxtc")
    public suspend fun faqIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.faqIds = mapped
    }

    internal fun build(): ExperienceConfigurationContentSourceConfigurationArgs =
        ExperienceConfigurationContentSourceConfigurationArgs(
            dataSourceIds = dataSourceIds,
            directPutContent = directPutContent,
            faqIds = faqIds,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy